public class ChronicleHistoryReader extends Object
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 TimeUnit |
timeUnit |
Constructor and Description |
---|
ChronicleHistoryReader() |
Modifier and Type | Method and Description |
---|---|
protected ChronicleQueue |
createQueue() |
void |
execute() |
protected 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) |
protected 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
public ChronicleHistoryReader withMessageSink(Consumer<String> messageSink)
public ChronicleHistoryReader withBasePath(Path path)
public ChronicleHistoryReader withProgress(boolean p)
public ChronicleHistoryReader withTimeUnit(TimeUnit p)
public ChronicleHistoryReader withHistosByMethod(boolean b)
public ChronicleHistoryReader withIgnore(long ignore)
public ChronicleHistoryReader withMeasurementWindow(long measurementWindow)
public ChronicleHistoryReader withSummaryOutput(int offset)
@NotNull protected ChronicleQueue createQueue()
public void execute()
public void outputData()
protected net.openhft.chronicle.wire.WireParselet parselet()
protected void processMessage(CharSequence methodName, net.openhft.chronicle.wire.MessageHistory history)
protected void windowPassed()
@NotNull protected net.openhft.chronicle.core.util.Histogram histogram()
Copyright © 2020. All rights reserved.