public interface Reader
create() method| Modifier and Type | Method and Description |
|---|---|
String |
arg()
Retrieves the argument for this Reader.
|
Reader |
asMethodReader(@NotNull String methodReaderInterface)
Sets the method reader interface for this Reader.
|
static Reader |
create()
Creates a new Reader instance.
|
void |
execute()
Executes the Reader.
|
Reader |
historyRecords(long maxHistoryRecords)
Sets the maximum number of history records for this Reader.
|
String |
limiterArg()
Retrieves the limiter argument for this Reader.
|
Class<?> |
methodReaderInterface()
Retrieves the method reader interface for this Reader.
|
Reader |
showMessageHistory(boolean showMessageHistory)
Sets whether to show message history for this Reader.
|
void |
stop()
Stops the Reader.
|
Reader |
suppressDisplayIndex()
Suppresses the display index for this Reader.
|
Reader |
tail()
Sets the Reader to tail mode.
|
Reader |
withArg(@NotNull String arg)
Sets the argument for this Reader.
|
Reader |
withBasePath(@NotNull Path path)
Sets the base path for this Reader.
|
Reader |
withBinarySearch(@NotNull String binarySearch)
Sets the binary search for this Reader.
|
ChronicleReader |
withContentBasedLimiter(ContentBasedLimiter contentBasedLimiter)
Sets the content-based limiter for this Reader.
|
Reader |
withCustomPlugin(@NotNull ChronicleReaderPlugin customPlugin)
Sets the custom plugin for this Reader.
|
Reader |
withExclusionRegex(@NotNull String regex)
Adds exclusion regex for this Reader.
|
Reader |
withInclusionRegex(@NotNull String regex)
Adds an inclusion regex for this Reader.
|
Reader |
withLimiterArg(@NotNull String limiterArg)
Sets the limiter argument for this Reader.
|
Reader |
withMessageSink(@NotNull Consumer<String> messageSink)
Sets the message sink for this Reader.
|
Reader |
withStartIndex(long index)
Sets the start index for this Reader.
|
Reader |
withWireType(@NotNull net.openhft.chronicle.wire.WireType wireType)
Sets the wire type for this Reader.
|
void execute()
void stop()
Reader withMessageSink(@NotNull @NotNull Consumer<String> messageSink)
messageSink - A Consumer function that will handle the messages read by this Reader.Reader withBasePath(@NotNull @NotNull Path path)
path - The base path.Reader withInclusionRegex(@NotNull @NotNull String regex)
regex - The inclusion regex.Reader withExclusionRegex(@NotNull @NotNull String regex)
regex - The exclusion regex.Reader withCustomPlugin(@NotNull @NotNull ChronicleReaderPlugin customPlugin)
withMessageSink(Consumer)customPlugin - The custom plugin.Reader withStartIndex(long index)
index - The start index.ChronicleReader withContentBasedLimiter(ContentBasedLimiter contentBasedLimiter)
contentBasedLimiter - The content-based limiter.Reader withArg(@NotNull @NotNull String arg)
withBinarySearch(String)arg - The argument.Reader withLimiterArg(@NotNull @NotNull String limiterArg)
withContentBasedLimiter(ContentBasedLimiter)limiterArg - The limiter argument.Reader tail()
Reader historyRecords(long maxHistoryRecords)
maxHistoryRecords - The maximum number of history records.Reader asMethodReader(@NotNull @NotNull String methodReaderInterface)
methodReaderInterface - The method reader interface class name. If empty, a dummy reader is created.Reader withWireType(@NotNull @NotNull net.openhft.chronicle.wire.WireType wireType)
wireType - The wire type.Reader suppressDisplayIndex()
Reader withBinarySearch(@NotNull @NotNull String binarySearch)
binarySearch - The binary search.Reader showMessageHistory(boolean showMessageHistory)
showMessageHistory - Whether to show message history.String arg()
String limiterArg()
Class<?> methodReaderInterface()
static Reader create()
Copyright © 2024. All rights reserved.