public static class Excerpts.StoreTailer extends Object implements ExcerptTailer
| Constructor and Description |
|---|
StoreTailer(AbstractChronicleQueue queue) |
| Modifier and Type | Method and Description |
|---|---|
long |
index() |
boolean |
moveToIndex(long index)
Randomly select an Excerpt.
|
void |
prefetch()
Hint to the underlying store to get the next page(s)
|
boolean |
readBytes(net.openhft.chronicle.bytes.Bytes using) |
boolean |
readBytes(net.openhft.chronicle.bytes.ReadBytesMarshallable using) |
boolean |
readDocument(net.openhft.chronicle.wire.ReadMarshallable marshaller) |
ExcerptTailer |
toEnd()
Wind to the upper.
|
ExcerptTailer |
toStart()
Replay from the lower.
|
String |
toString() |
public StoreTailer(@NotNull
AbstractChronicleQueue queue)
public boolean readDocument(@NotNull
net.openhft.chronicle.wire.ReadMarshallable marshaller)
readDocument in interface ExcerptTailermarshaller - user to read the documenttrue if successfulpublic boolean readBytes(@NotNull
net.openhft.chronicle.bytes.Bytes using)
readBytes in interface ExcerptTailerusing - used to read the documenttrue if successfulpublic boolean readBytes(@NotNull
net.openhft.chronicle.bytes.ReadBytesMarshallable using)
readBytes in interface ExcerptTailerusing - used to read the documenttrue if successfulpublic long index()
index in interface ExcerptTailerpublic boolean moveToIndex(long index)
ExcerptTailermoveToIndex in interface ExcerptTailerindex - index to look up, the index includes the cycle number and a sequence number from
with this cycle@NotNull public ExcerptTailer toStart()
ExcerptTailertoStart in interface ExcerptTailer@NotNull public ExcerptTailer toEnd() throws IOException
ExcerptTailertoEnd in interface ExcerptTailerIOException - if not able to read the chronicle filepublic void prefetch()
ExcerptCommonprefetch in interface ExcerptCommonCopyright © 2016. All rights reserved.