Provides an iterator over the message/offset pairs in this set
Provides an iterator over the message/offset pairs in this set
Gives the total size of this message set in bytes
Write the messages in this set to the given channel starting at the given offset byte.
Write the messages in this set to the given channel starting at the given offset byte. Less than the complete amount may be written, but no more than maxSize can be. The number of bytes written is returned
(Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.
Print this message set's contents.
Print this message set's contents. If the message set has more than 100 messages, just print the first 100.
(Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.
A set of messages with offsets. A message set has a fixed serialized form, though the container for the bytes could be either in-memory or on disk. The format of each message is as follows: 8 byte message offset number 4 byte size containing an integer N N message bytes as described in the Message class