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.WithFilterscala.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, prependclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflatten, foreach, genericBuilder, isEmpty, transpose, unzip, unzip3canEqual, 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$plus$plus, $plus$plus$colon, $plus$plus$colon, collect, dropWhile, filter, 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, addString, addString, addString, aggregate, collectFirst, copyToArray, copyToArray, copyToBuffer, count, fold, foldLeft, max, maxBy, min, minBy, mkString, mkString, mkString, nonEmpty, product, reduce, reduceLeft, reduceLeftOption, reduceOption, reduceRightOption, reversed, size, sum, toArray, toBuffer, toIndexedSeq, toList, toMap, toSeq, toSet, toVectorproductArity, productElement, productIterator, productPrefixfailureMessagepublic 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>>