public interface ExcerptTailer extends ExcerptCommon
ChronicleQueue
.Modifier and Type | Method and Description |
---|---|
long |
cycle() |
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) |
net.openhft.chronicle.wire.DocumentContext |
readingDocument()
equivalent to
readDocument(ReadMarshallable) but with out the use of a
lambda expression. |
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 successfulnet.openhft.chronicle.wire.DocumentContext readingDocument()
readDocument(ReadMarshallable)
but with out the use of a
lambda expression.
This method is the ExcerptTailer equivalent of WireIn.readingDocument()
long index()
long cycle()
boolean moveToIndex(long index)
index
- index to look up, the index includes the cycle number and a sequence number from
with this cycle@NotNull ExcerptTailer toStart()
@NotNull ExcerptTailer toEnd()
Copyright © 2016. All rights reserved.