public class ChronicleHistoryReader extends Object implements HistoryReader, Closeable
| Modifier and Type | Field and Description |
|---|---|
protected Path |
basePath |
protected long |
counter |
protected long |
firstTimeStampNanos |
protected Map<String,net.openhft.chronicle.core.util.Histogram> |
histos |
protected boolean |
histosByMethod |
protected long |
ignore |
protected int |
lastHistosSize |
protected long |
lastWindowCount |
protected long |
measurementWindowNanos |
protected Consumer<String> |
messageSink |
protected boolean |
progress |
protected int |
summaryOutputOffset |
protected ExcerptTailer |
tailer |
protected TimeUnit |
timeUnit |
| Constructor and Description |
|---|
ChronicleHistoryReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected @NotNull ChronicleQueue |
createQueue() |
void |
execute() |
protected @NotNull net.openhft.chronicle.core.util.Histogram |
histogram() |
void |
outputData() |
protected net.openhft.chronicle.wire.WireParselet |
parselet() |
protected void |
processMessage(CharSequence methodName,
net.openhft.chronicle.wire.MessageHistory history) |
Map<String,net.openhft.chronicle.core.util.Histogram> |
readChronicle() |
protected void |
windowPassed() |
ChronicleHistoryReader |
withBasePath(Path path) |
ChronicleHistoryReader |
withHistosByMethod(boolean b) |
ChronicleHistoryReader |
withIgnore(long ignore) |
ChronicleHistoryReader |
withMeasurementWindow(long measurementWindow) |
ChronicleHistoryReader |
withMessageSink(Consumer<String> messageSink) |
ChronicleHistoryReader |
withProgress(boolean p) |
ChronicleHistoryReader |
withSummaryOutput(int offset) |
ChronicleHistoryReader |
withTimeUnit(TimeUnit p) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createprotected Path basePath
protected boolean progress
protected TimeUnit timeUnit
protected boolean histosByMethod
protected long ignore
protected long counter
protected long measurementWindowNanos
protected long firstTimeStampNanos
protected long lastWindowCount
protected int summaryOutputOffset
protected int lastHistosSize
protected ExcerptTailer tailer
public ChronicleHistoryReader withMessageSink(Consumer<String> messageSink)
withMessageSink in interface HistoryReaderpublic ChronicleHistoryReader withBasePath(Path path)
withBasePath in interface HistoryReaderpublic ChronicleHistoryReader withProgress(boolean p)
withProgress in interface HistoryReaderpublic ChronicleHistoryReader withTimeUnit(TimeUnit p)
withTimeUnit in interface HistoryReaderpublic ChronicleHistoryReader withHistosByMethod(boolean b)
withHistosByMethod in interface HistoryReaderpublic ChronicleHistoryReader withIgnore(long ignore)
withIgnore in interface HistoryReaderpublic ChronicleHistoryReader withMeasurementWindow(long measurementWindow)
withMeasurementWindow in interface HistoryReaderpublic ChronicleHistoryReader withSummaryOutput(int offset)
withSummaryOutput in interface HistoryReader@NotNull protected @NotNull ChronicleQueue createQueue()
public void execute()
execute in interface HistoryReaderpublic Map<String,net.openhft.chronicle.core.util.Histogram> readChronicle()
readChronicle in interface HistoryReaderpublic void outputData()
outputData in interface HistoryReaderprotected net.openhft.chronicle.wire.WireParselet parselet()
protected void processMessage(CharSequence methodName, net.openhft.chronicle.wire.MessageHistory history)
protected void windowPassed()
@NotNull protected @NotNull net.openhft.chronicle.core.util.Histogram histogram()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2022. All rights reserved.