public static class SingleChronicleQueueExcerpts.StoreTailer extends Object implements ExcerptTailer, net.openhft.chronicle.wire.SourceContext, ExcerptContext
| Constructor and Description |
|---|
StoreTailer(SingleChronicleQueue queue) |
| Modifier and Type | Method and Description |
|---|---|
ExcerptTailer |
afterLastWritten(ChronicleQueue queue)
Wind this tailer to after the last entry which wrote an entry to the queue
|
int |
cycle() |
TailerDirection |
direction() |
ExcerptTailer |
direction(TailerDirection direction)
Set the direction of movement.
|
long |
index() |
void |
lastAcknowledgedIndexReplicated(long acknowledgeIndex) |
boolean |
lazyIndexing() |
ExcerptTailer |
lazyIndexing(boolean lazyIndexing) |
boolean |
moveToIndex(long index)
Randomly select an Excerpt.
|
RollingChronicleQueue |
queue() |
boolean |
readAfterReplicaAcknowledged() |
void |
readAfterReplicaAcknowledged(boolean readAfterReplicaAcknowledged) |
net.openhft.chronicle.wire.DocumentContext |
readingDocument(boolean includeMetaData) |
int |
sourceId() |
TailerState |
state() |
long |
timeoutMS() |
ExcerptTailer |
toEnd()
Wind to the last entry int eh last entry
|
ExcerptTailer |
toStart()
Replay from the first entry in the first cycle.
|
String |
toString() |
net.openhft.chronicle.wire.Wire |
wire() |
net.openhft.chronicle.wire.Wire |
wireForIndex() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadingDocumentmethodReader, readBytes, readBytes, readDocument, readMap, readText, readTextpauserResetpublic StoreTailer(@NotNull
SingleChronicleQueue queue)
public net.openhft.chronicle.wire.Wire wire()
wire in interface ExcerptContextpublic net.openhft.chronicle.wire.Wire wireForIndex()
wireForIndex in interface ExcerptContextpublic long timeoutMS()
timeoutMS in interface ExcerptContextpublic ExcerptTailer lazyIndexing(boolean lazyIndexing)
lazyIndexing in interface ExcerptCommon<ExcerptTailer>public boolean lazyIndexing()
lazyIndexing in interface ExcerptCommon<ExcerptTailer>public int sourceId()
sourceId in interface ExcerptCommon<ExcerptTailer>sourceId in interface net.openhft.chronicle.wire.SourceContextpublic net.openhft.chronicle.wire.DocumentContext readingDocument(boolean includeMetaData)
readingDocument in interface ExcerptTailerpublic long index()
index in interface ExcerptTailerindex in interface net.openhft.chronicle.wire.SourceContextpublic int 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()
ExcerptTailer
If the direction() == FORWARD, this will be 1 more than the last entry.
Otherwise the index will be the last entry.
toEnd in interface ExcerptTailerpublic TailerDirection direction()
direction in interface ExcerptTailerpublic ExcerptTailer direction(TailerDirection direction)
ExcerptTailerdirection in interface ExcerptTailerdirection - NONE, FORWARD, BACKWARDpublic RollingChronicleQueue queue()
queue in interface ExcerptCommon<ExcerptTailer>public void readAfterReplicaAcknowledged(boolean readAfterReplicaAcknowledged)
readAfterReplicaAcknowledged in interface ExcerptTailerpublic boolean readAfterReplicaAcknowledged()
readAfterReplicaAcknowledged in interface ExcerptTailerpublic TailerState state()
state in interface ExcerptTailerpublic ExcerptTailer afterLastWritten(ChronicleQueue queue)
ExcerptTailerafterLastWritten in interface ExcerptTailerqueue - which was written to.@UsedViaReflection public void lastAcknowledgedIndexReplicated(long acknowledgeIndex)
Copyright © 2016. All rights reserved.