class
ByteBufferMessageSet extends MessageSet with Logging
Instance Constructors
-
new
ByteBufferMessageSet(messages: Message*)
-
new
ByteBufferMessageSet(compressionCodec: CompressionCodec, offsetCounter: AtomicLong, messages: Message*)
-
new
ByteBufferMessageSet(compressionCodec: CompressionCodec, messages: Message*)
-
new
ByteBufferMessageSet(buffer: ByteBuffer)
Type Members
-
-
class
WithFilter extends FilterMonadic[A, Repr]
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
++[B >: MessageAndOffset, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[MessageAndOffset], B, That]): That
-
def
++:[B >: MessageAndOffset, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[MessageAndOffset], B, That]): That
-
def
++:[B >: MessageAndOffset, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[MessageAndOffset], B, That]): That
-
def
/:[B](z: B)(op: (B, MessageAndOffset) ⇒ B): B
-
def
:\[B](z: B)(op: (MessageAndOffset, B) ⇒ B): B
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
addString(b: StringBuilder): StringBuilder
-
def
addString(b: StringBuilder, sep: String): StringBuilder
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
-
def
aggregate[B](z: B)(seqop: (B, MessageAndOffset) ⇒ B, combop: (B, B) ⇒ B): B
-
final
def
asInstanceOf[T0]: T0
-
val
buffer: ByteBuffer
-
def
canEqual(that: Any): Boolean
-
def
clone(): AnyRef
-
def
collect[B, That](pf: PartialFunction[MessageAndOffset, B])(implicit bf: CanBuildFrom[Iterable[MessageAndOffset], B, That]): That
-
def
collectFirst[B](pf: PartialFunction[MessageAndOffset, B]): Option[B]
-
def
companion: GenericCompanion[Iterable]
-
def
copyToArray[B >: MessageAndOffset](xs: Array[B], start: Int, len: Int): Unit
-
def
copyToArray[B >: MessageAndOffset](xs: Array[B]): Unit
-
def
copyToArray[B >: MessageAndOffset](xs: Array[B], start: Int): Unit
-
def
copyToBuffer[B >: MessageAndOffset](dest: Buffer[B]): Unit
-
-
def
debug(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
debug(e: ⇒ Throwable): Any
-
def
debug(msg: ⇒ String): Unit
-
-
def
dropRight(n: Int): Iterable[MessageAndOffset]
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(other: Any): Boolean
-
def
error(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
error(e: ⇒ Throwable): Any
-
def
error(msg: ⇒ String): Unit
-
def
exists(p: (MessageAndOffset) ⇒ Boolean): Boolean
-
def
fatal(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
fatal(e: ⇒ Throwable): Any
-
def
fatal(msg: ⇒ String): Unit
-
-
-
def
finalize(): Unit
-
-
def
flatMap[B, That](f: (MessageAndOffset) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[MessageAndOffset], B, That]): That
-
def
flatten[B](implicit asTraversable: (MessageAndOffset) ⇒ GenTraversableOnce[B]): Iterable[B]
-
def
fold[A1 >: MessageAndOffset](z: A1)(op: (A1, A1) ⇒ A1): A1
-
def
foldLeft[B](z: B)(op: (B, MessageAndOffset) ⇒ B): B
-
def
foldRight[B](z: B)(op: (MessageAndOffset, B) ⇒ B): B
-
def
forall(p: (MessageAndOffset) ⇒ Boolean): Boolean
-
-
def
genericBuilder[B]: Builder[B, Iterable[B]]
-
def
getBuffer: ByteBuffer
-
final
def
getClass(): Class[_]
-
-
def
grouped(size: Int): Iterator[Iterable[MessageAndOffset]]
-
def
hasDefiniteSize: Boolean
-
def
hashCode(): Int
-
-
-
def
info(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
info(e: ⇒ Throwable): Any
-
def
info(msg: ⇒ String): Unit
-
-
-
def
isEmpty: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
isTraversableAgain: Boolean
-
-
-
-
var
logIdent: String
-
lazy val
logger: Logger
-
val
loggerName: String
-
def
map[B, That](f: (MessageAndOffset) ⇒ B)(implicit bf: CanBuildFrom[Iterable[MessageAndOffset], B, That]): That
-
-
-
-
-
def
mkString: String
-
def
mkString(sep: String): String
-
def
mkString(start: String, sep: String, end: String): String
-
final
def
ne(arg0: AnyRef): Boolean
-
-
def
nonEmpty: Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
-
-
def
product[B >: MessageAndOffset](implicit num: Numeric[B]): B
-
def
reduce[A1 >: MessageAndOffset](op: (A1, A1) ⇒ A1): A1
-
-
-
def
reduceOption[A1 >: MessageAndOffset](op: (A1, A1) ⇒ A1): Option[A1]
-
-
-
-
-
def
sameElements[B >: MessageAndOffset](that: GenIterable[B]): Boolean
-
def
scan[B >: MessageAndOffset, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[MessageAndOffset], B, That]): That
-
def
scanLeft[B, That](z: B)(op: (B, MessageAndOffset) ⇒ B)(implicit bf: CanBuildFrom[Iterable[MessageAndOffset], B, That]): That
-
def
scanRight[B, That](z: B)(op: (MessageAndOffset, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[MessageAndOffset], B, That]): That
-
-
-
def
size: Int
-
def
sizeInBytes: Int
-
def
slice(from: Int, until: Int): Iterable[MessageAndOffset]
-
def
sliding(size: Int, step: Int): Iterator[Iterable[MessageAndOffset]]
-
def
sliding(size: Int): Iterator[Iterable[MessageAndOffset]]
-
-
-
def
stringPrefix: String
-
def
sum[B >: MessageAndOffset](implicit num: Numeric[B]): B
-
def
swallow(action: ⇒ Unit): Unit
-
def
swallowDebug(action: ⇒ Unit): Unit
-
def
swallowError(action: ⇒ Unit): Unit
-
def
swallowInfo(action: ⇒ Unit): Unit
-
def
swallowTrace(action: ⇒ Unit): Unit
-
def
swallowWarn(action: ⇒ Unit): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
-
-
def
takeRight(n: Int): Iterable[MessageAndOffset]
-
-
-
-
def
toArray[B >: MessageAndOffset](implicit arg0: ClassTag[B]): Array[B]
-
-
-
-
-
-
-
def
toMap[T, U](implicit ev: <:<[MessageAndOffset, (T, U)]): Map[T, U]
-
-
-
-
def
toString(): String
-
-
-
def
trace(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
trace(e: ⇒ Throwable): Any
-
def
trace(msg: ⇒ String): Unit
-
def
transpose[B](implicit asTraversable: (MessageAndOffset) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]
-
def
unzip[A1, A2](implicit asPair: (MessageAndOffset) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])
-
def
unzip3[A1, A2, A3](implicit asTriple: (MessageAndOffset) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
-
def
validBytes: Int
-
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
warn(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
warn(e: ⇒ Throwable): Any
-
def
warn(msg: ⇒ String): Unit
-
-
def
writeTo(channel: GatheringByteChannel, offset: Long, size: Int): Int
-
def
zip[A1 >: MessageAndOffset, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[MessageAndOffset], (A1, B), That]): That
-
def
zipAll[B, A1 >: MessageAndOffset, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[MessageAndOffset], (A1, B), That]): That
-
def
zipWithIndex[A1 >: MessageAndOffset, That](implicit bf: CanBuildFrom[Iterable[MessageAndOffset], (A1, Int), That]): That
Deprecated Value Members
-
def
/:\[A1 >: MessageAndOffset](z: A1)(op: (A1, A1) ⇒ A1): A1
Inherited from Equals
Inherited from AnyRef
Inherited from Any
A sequence of messages stored in a byte buffer
There are two ways to create a ByteBufferMessageSet
Option 1: From a ByteBuffer which already contains the serialized message set. Consumers will use this method.
Option 2: Give it a list of messages along with instructions relating to serialization format. Producers will use this method.