public static class SingleChronicleQueueExcerpts.StoreTailer extends Object implements ExcerptTailer
| Constructor and Description |
|---|
StoreTailer(SingleChronicleQueue queue) |
| Modifier and Type | Method and Description |
|---|---|
long |
cycle() |
long |
index() |
boolean |
moveToIndex(long index)
Randomly select an Excerpt.
|
void |
prefetch()
Hint to the underlying store to get the next page(s)
|
RollingChronicleQueue |
queue() |
boolean |
readBytes(net.openhft.chronicle.bytes.Bytes using) |
boolean |
readBytes(net.openhft.chronicle.bytes.ReadBytesMarshallable using) |
boolean |
readDocument(net.openhft.chronicle.wire.ReadMarshallable marshaller) |
net.openhft.chronicle.wire.DocumentContext |
readingDocument()
equivalent to
ExcerptTailer.readDocument(ReadMarshallable) but with out the use of a
lambda expression. |
ExcerptTailer |
toEnd()
Wind to the upper.
|
ExcerptTailer |
toStart()
Replay from the lower.
|
String |
toString() |
public StoreTailer(@NotNull
SingleChronicleQueue 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 net.openhft.chronicle.wire.DocumentContext readingDocument()
ExcerptTailerExcerptTailer.readDocument(ReadMarshallable) but with out the use of a
lambda expression.
This method is the ExcerptTailer equivalent of WireIn.readingDocument()readingDocument in interface ExcerptTailerpublic 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 long cycle()
cycle 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 final ExcerptTailer toStart()
ExcerptTailertoStart in interface ExcerptTailer@NotNull public ExcerptTailer toEnd()
ExcerptTailertoEnd in interface ExcerptTailerpublic void prefetch()
ExcerptCommonprefetch in interface ExcerptCommonpublic RollingChronicleQueue queue()
Copyright © 2016. All rights reserved.