public class ResetByChunksRollingHdrHistogramImpl extends AbstractRollingHdrHistogram
| Constructor and Description |
|---|
ResetByChunksRollingHdrHistogramImpl(RecorderSettings recorderSettings,
int numberHistoryChunks,
long intervalBetweenResettingMillis,
Ticker ticker,
Executor backgroundExecutor) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEstimatedFootprintInBytes()
Provide a (conservatively high) estimate of the Reservoir's total footprint in bytes
|
RollingSnapshot |
getSnapshot(Function<org.HdrHistogram.Histogram,RollingSnapshot> snapshotTaker) |
void |
recordSingleValueWithExpectedInterval(long value,
long expectedIntervalBetweenValueSamples) |
String |
toString() |
getSnapshot, histogramValuesToString, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuilderpublic ResetByChunksRollingHdrHistogramImpl(RecorderSettings recorderSettings, int numberHistoryChunks, long intervalBetweenResettingMillis, Ticker ticker, Executor backgroundExecutor)
public void recordSingleValueWithExpectedInterval(long value,
long expectedIntervalBetweenValueSamples)
recordSingleValueWithExpectedInterval in class AbstractRollingHdrHistogrampublic final RollingSnapshot getSnapshot(Function<org.HdrHistogram.Histogram,RollingSnapshot> snapshotTaker)
getSnapshot in class AbstractRollingHdrHistogrampublic int getEstimatedFootprintInBytes()
RollingHdrHistogrampublic String toString()
toString in class AbstractRollingHdrHistogramCopyright © 2020. All rights reserved.