public interface Reader
Modifier and Type | Method and Description |
---|---|
String |
arg() |
Reader |
asMethodReader(@Nullable String methodReaderInterface)
specify method reader interface to use
|
static Reader |
create() |
void |
execute() |
Reader |
historyRecords(long maxHistoryRecords) |
Class<?> |
methodReaderInterface() |
boolean |
readOne(@NotNull QueueEntryHandler messageConverter,
@NotNull ExcerptTailer tailer,
@NotNull Consumer<String> messageConsumer) |
Reader |
showMessageHistory(boolean showMessageHistory) |
void |
stop() |
Reader |
suppressDisplayIndex() |
Reader |
tail() |
Reader |
withArg(@NotNull String arg) |
Reader |
withBasePath(@NotNull Path path) |
Reader |
withBinarySearch(@NotNull String binarySearch) |
Reader |
withCustomPlugin(@NotNull ChronicleReaderPlugin customPlugin) |
Reader |
withExclusionRegex(@NotNull String regex) |
Reader |
withInclusionRegex(@NotNull String regex) |
Reader |
withMessageSink(@NotNull Consumer<String> messageSink) |
Reader |
withStartIndex(long index) |
Reader |
withWireType(@NotNull net.openhft.chronicle.wire.WireType wireType) |
void execute()
boolean readOne(@NotNull @NotNull QueueEntryHandler messageConverter, @NotNull @NotNull ExcerptTailer tailer, @NotNull @NotNull Consumer<String> messageConsumer)
void stop()
Reader withCustomPlugin(@NotNull @NotNull ChronicleReaderPlugin customPlugin)
Reader withStartIndex(long index)
Reader tail()
Reader historyRecords(long maxHistoryRecords)
Reader asMethodReader(@Nullable @Nullable String methodReaderInterface)
methodReaderInterface
- interface class name. If null, a dummy reader is created
TODO: x.23 this argument will become @NonNullReader withWireType(@NotNull @NotNull net.openhft.chronicle.wire.WireType wireType)
Reader suppressDisplayIndex()
Reader showMessageHistory(boolean showMessageHistory)
String arg()
Class<?> methodReaderInterface()
static Reader create()
Copyright © 2021. All rights reserved.