public static final class Tcp.CompoundWrite extends Tcp.WriteCommand implements scala.collection.immutable.Iterable<Tcp.SimpleWriteCommand>, scala.Product, scala.Serializable
Tcp.Write
and/or Tcp.WriteFile
commands together in a way
that allows them to be handled as a single write which gets written out to the
network as quickly as possible.
If the sub commands contain ack
requests they will be honored as soon as the
respective write has been written completely.scala.collection.TraversableLike.WithFilter
scala.collection.TraversableOnce.BufferedCanBuildFrom<A,CC extends scala.collection.TraversableOnce<java.lang.Object>>, scala.collection.TraversableOnce.FlattenOps<A>, scala.collection.TraversableOnce.ForceImplicitAmbiguity, scala.collection.TraversableOnce.MonadOps<A>, scala.collection.TraversableOnce.OnceCanBuildFrom<A>
Constructor and Description |
---|
CompoundWrite(Tcp.SimpleWriteCommand head,
Tcp.WriteCommand tailCommand) |
Modifier and Type | Method and Description |
---|---|
Tcp.SimpleWriteCommand |
head() |
scala.collection.Iterator<Tcp.SimpleWriteCommand> |
iterator() |
Tcp.WriteCommand |
tailCommand() |
prepend, prepend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, apply, canBuildFrom, companion, concat, empty, fill, fill, fill, fill, fill, iterate, parCombiner, range, range, ReusableCBF, seq, tabulate, tabulate, tabulate, tabulate, tabulate
$init$, apply, concat, fill, fill, fill, fill, fill, iterate, range, range, tabulate, tabulate, tabulate, tabulate, tabulate
$init$, flatten, foreach, genericBuilder, isEmpty, transpose, unzip, unzip3
$init$, canEqual, copyToArray, drop, dropRight, exists, find, foldRight, forall, foreach, grouped, isEmpty, reduceRight, sameElements, slice, sliding, sliding, take, takeRight, takeWhile, thisCollection, toCollection, toIterable, toIterator, toStream, view, view, zip, zipAll, zipWithIndex
$init$, $plus$plus, $plus$plus$colon, $plus$plus$colon, collect, dropWhile, filter, filterImpl, filterNot, flatMap, groupBy, hasDefiniteSize, headOption, init, inits, isTraversableAgain, last, lastOption, map, newBuilder, partition, repr, scan, scanLeft, scanRight, sliceWithKnownBound, sliceWithKnownDelta, span, splitAt, stringPrefix, tail, tails, to, toString, toTraversable, withFilter
$colon$bslash, $div$colon, $init$, addString, addString, addString, aggregate, alternateImplicit, collectFirst, copyToArray, copyToArray, copyToBuffer, count, flattenTraversableOnce, fold, foldLeft, max, maxBy, min, minBy, mkString, mkString, mkString, MonadOps, nonEmpty, OnceCanBuildFrom, product, reduce, reduceLeft, reduceLeftOption, reduceOption, reduceRightOption, reversed, size, sum, toArray, toBuffer, toIndexedSeq, toList, toMap, toSeq, toSet, toVector
$init$, productArity, productElement, productIterator, productPrefix
failureMessage
public CompoundWrite(Tcp.SimpleWriteCommand head, Tcp.WriteCommand tailCommand)
public Tcp.SimpleWriteCommand head()
head
in interface scala.collection.generic.GenericTraversableTemplate<Tcp.SimpleWriteCommand,scala.collection.GenTraversable>
head
in interface scala.collection.GenTraversableLike<Tcp.SimpleWriteCommand,scala.collection.Iterable<Tcp.SimpleWriteCommand>>
head
in interface scala.collection.IterableLike<Tcp.SimpleWriteCommand,scala.collection.Iterable<Tcp.SimpleWriteCommand>>
head
in interface scala.collection.TraversableLike<Tcp.SimpleWriteCommand,scala.collection.Iterable<Tcp.SimpleWriteCommand>>
public Tcp.WriteCommand tailCommand()
public scala.collection.Iterator<Tcp.SimpleWriteCommand> iterator()
iterator
in interface scala.collection.GenIterableLike<Tcp.SimpleWriteCommand,scala.collection.Iterable<Tcp.SimpleWriteCommand>>
iterator
in interface scala.collection.IterableLike<Tcp.SimpleWriteCommand,scala.collection.Iterable<Tcp.SimpleWriteCommand>>