public interface HistoryReader
Modifier and Type | Method and Description |
---|---|
static HistoryReader |
create()
Creates and returns a new history reader that will use
the queue located at
withBasePath(java.nio.file.Path) provided later. |
static HistoryReader |
create(@NotNull Supplier<? extends ChronicleQueue> queueSupplier)
Creates and returns a new history reader that will use
the provided
queueSupplier to provide the queue. |
void |
execute() |
void |
outputData() |
Map<String,net.openhft.chronicle.core.util.Histogram> |
readChronicle()
Read until the end of the queue, accumulating latency histograms.
|
HistoryReader |
withBasePath(Path path) |
HistoryReader |
withHistosByMethod(boolean b) |
ChronicleHistoryReader |
withHistoSupplier(Supplier<net.openhft.chronicle.core.util.Histogram> histoSupplier) |
HistoryReader |
withIgnore(long ignore) |
HistoryReader |
withMeasurementWindow(long measurementWindow) |
HistoryReader |
withMessageSink(Consumer<String> messageSink) |
HistoryReader |
withProgress(boolean p) |
HistoryReader |
withStartIndex(long startIndex)
set the index to start at
|
HistoryReader |
withSummaryOutput(int offset) |
HistoryReader |
withTimeUnit(TimeUnit p) |
HistoryReader withMessageSink(Consumer<String> messageSink)
HistoryReader withBasePath(Path path)
HistoryReader withProgress(boolean p)
HistoryReader withTimeUnit(TimeUnit p)
HistoryReader withHistosByMethod(boolean b)
HistoryReader withIgnore(long ignore)
HistoryReader withMeasurementWindow(long measurementWindow)
HistoryReader withSummaryOutput(int offset)
HistoryReader withStartIndex(long startIndex)
startIndex
- start indexChronicleHistoryReader withHistoSupplier(Supplier<net.openhft.chronicle.core.util.Histogram> histoSupplier)
void execute()
Map<String,net.openhft.chronicle.core.util.Histogram> readChronicle()
void outputData()
static HistoryReader create()
withBasePath(java.nio.file.Path)
provided later.withBasePath(java.nio.file.Path)
provided laterstatic HistoryReader create(@NotNull @NotNull Supplier<? extends ChronicleQueue> queueSupplier)
queueSupplier
to provide the queue.queueSupplier
to provide the queue.Copyright © 2024. All rights reserved.