| Package | Description |
|---|---|
| net.openhft.chronicle.queue |
Main API for the Chronicle Queue library.
|
| net.openhft.chronicle.queue.channel | |
| net.openhft.chronicle.queue.impl.single | |
| net.openhft.chronicle.queue.internal.reader.queueentryreaders | |
| net.openhft.chronicle.queue.reader |
| Modifier and Type | Method and Description |
|---|---|
default @NotNull ExcerptTailer |
ExcerptTailer.afterLastWritten(ChronicleQueue queue)
Winds this ExcerptTailer to after the last entry which wrote an entry to the queue.
|
default @NotNull ExcerptTailer |
ExcerptTailer.afterWrittenMessageAtIndex(@NotNull ChronicleQueue queue,
long index)
Winds this ExcerptTailer to the specified
index of the provided queue and reads the history message,
then moves this tailer to the message index in the history message. |
@NotNull ExcerptTailer |
ChronicleQueue.createTailer()
Creates and returns a new ExcerptTailer for this ChronicleQueue.
|
default @NotNull ExcerptTailer |
ChronicleQueue.createTailer(String id)
Creates and returns a new ExcerptTailer for this ChronicleQueue with the given unique
id. |
@NotNull ExcerptTailer |
ExcerptTailer.direction(@NotNull TailerDirection direction)
Sets the direction of this ExcerptTailer.
|
default ExcerptTailer |
ChronicleQueue.nonAsyncTailer()
Create non-async tailer.
|
ExcerptTailer |
ExcerptTailer.striding(boolean striding)
Sets the
striding property of this Tailer. |
@NotNull ExcerptTailer |
ExcerptTailer.toEnd()
Moves the index for this Tailer to the end of the queue.
|
@NotNull ExcerptTailer |
ExcerptTailer.toStart()
Moves the index for this Tailer to the first existing excerpt in the queue.
|
| Modifier and Type | Method and Description |
|---|---|
SubscribeHandler |
SubscribeHandler.subscriptionIndexController(Consumer<ExcerptTailer> subscriptionIndexController) |
PipeHandler |
PipeHandler.subscriptionIndexController(Consumer<ExcerptTailer> subscriptionIndexController) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ExcerptTailer |
SingleChronicleQueue.createTailer() |
@NotNull ExcerptTailer |
SingleChronicleQueue.createTailer(String id) |
| Modifier and Type | Method and Description |
|---|---|
static long |
BinarySearch.findWithinCycle(@NotNull net.openhft.chronicle.wire.Wire key,
@NotNull Comparator<net.openhft.chronicle.wire.Wire> c,
int cycle,
@NotNull ExcerptTailer tailer,
@NotNull RollCycle rollCycle) |
static long |
BinarySearch.search(@NotNull ExcerptTailer tailer,
@NotNull net.openhft.chronicle.wire.Wire key,
@NotNull Comparator<net.openhft.chronicle.wire.Wire> c)
returns the index or -1 if not found or the index if an exact match is found, an approximation in the form of -approximateIndex
or -1 if there was no searching to be done.
|
| Constructor and Description |
|---|
AbstractTailerPollingQueueEntryReader(ExcerptTailer tailer,
Function<ExcerptTailer,net.openhft.chronicle.wire.DocumentContext> pollMethod) |
CustomPluginQueueEntryReader(ExcerptTailer tailer,
Function<ExcerptTailer,net.openhft.chronicle.wire.DocumentContext> pollMethod,
ChronicleReaderPlugin plugin,
MessageConsumer consumer) |
MethodReaderQueueEntryReader(ExcerptTailer tailer,
MessageConsumer messageConsumer,
net.openhft.chronicle.wire.WireType wireType,
Class<?> methodReaderInterface,
boolean showMessageHistory) |
VanillaQueueEntryReader(@NotNull ExcerptTailer tailer,
@NotNull Function<ExcerptTailer,net.openhft.chronicle.wire.DocumentContext> pollMethod,
@NotNull QueueEntryHandler messageConverter,
@NotNull MessageConsumer messageConsumer) |
| Constructor and Description |
|---|
AbstractTailerPollingQueueEntryReader(ExcerptTailer tailer,
Function<ExcerptTailer,net.openhft.chronicle.wire.DocumentContext> pollMethod) |
CustomPluginQueueEntryReader(ExcerptTailer tailer,
Function<ExcerptTailer,net.openhft.chronicle.wire.DocumentContext> pollMethod,
ChronicleReaderPlugin plugin,
MessageConsumer consumer) |
| Modifier and Type | Field and Description |
|---|---|
protected ExcerptTailer |
ChronicleHistoryReader.tailer |
| Modifier and Type | Method and Description |
|---|---|
ChronicleReader |
ChronicleReader.withDocumentPollMethod(Function<ExcerptTailer,net.openhft.chronicle.wire.DocumentContext> pollMethod) |
Copyright © 2024. All rights reserved.