public interface ExcerptTailer extends ExcerptCommon
ChronicleQueue
.Modifier and Type | Method and Description |
---|---|
long |
index() |
boolean |
moveToIndex(long index)
Randomly select an Excerpt.
|
boolean |
readBytes(net.openhft.chronicle.bytes.Bytes using) |
boolean |
readBytes(net.openhft.chronicle.bytes.ReadBytesMarshallable marshallable) |
boolean |
readDocument(net.openhft.chronicle.wire.ReadMarshallable reader) |
ExcerptTailer |
toEnd()
Wind to the upper.
|
ExcerptTailer |
toStart()
Replay from the lower.
|
prefetch
boolean readDocument(@NotNull net.openhft.chronicle.wire.ReadMarshallable reader)
reader
- user to read the documenttrue
if successfulboolean readBytes(@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable marshallable)
marshallable
- used to read the documenttrue
if successfulboolean readBytes(@NotNull net.openhft.chronicle.bytes.Bytes using)
using
- used to read the documenttrue
if successfullong index()
boolean moveToIndex(long index) throws IOException
index
- index to look up, the index includes the cycle number and a sequence number from
with this cycleIOException
- if not able to read the chronicle file@NotNull ExcerptTailer toStart() throws IOException
IOException
- if not able to read the chronicle file@NotNull ExcerptTailer toEnd() throws IOException
IOException
- if not able to read the chronicle fileCopyright © 2016. All rights reserved.