public class NicerHistogram extends com.codahale.metrics.Histogram implements DeltaSnapshotter
| Constructor and Description |
|---|
NicerHistogram(DeltaHdrHistogramReservoir hdrHistogramReservoir) |
| Modifier and Type | Method and Description |
|---|---|
DeltaSnapshotReader |
getDeltaReader() |
ConvenientSnapshot |
getDeltaSnapshot(long cacheTimeMillis) |
ConvenientSnapshot |
getSnapshot()
Only return a new snapshot form current reservoir data if the cached one has expired.
|
ConvenientSnapshot |
getTotalSnapshot() |
public NicerHistogram(DeltaHdrHistogramReservoir hdrHistogramReservoir)
public DeltaSnapshotReader getDeltaReader()
getDeltaReader in interface DeltaSnapshotterpublic ConvenientSnapshot getSnapshot()
getSnapshot in interface com.codahale.metrics.SamplinggetSnapshot in class com.codahale.metrics.Histogrampublic ConvenientSnapshot getDeltaSnapshot(long cacheTimeMillis)
getDeltaSnapshot in interface DeltaSnapshotterpublic ConvenientSnapshot getTotalSnapshot()
Copyright © 2016. All rights reserved.