Package org.apache.cassandra.metrics
Class ClearableHistogram
- java.lang.Object
-
- com.codahale.metrics.Histogram
-
- org.apache.cassandra.metrics.ClearableHistogram
-
- All Implemented Interfaces:
com.codahale.metrics.Counting
,com.codahale.metrics.Metric
,com.codahale.metrics.Sampling
public class ClearableHistogram extends com.codahale.metrics.Histogram
Adds ability to reset a histogram
-
-
Constructor Summary
Constructors Constructor Description ClearableHistogram(DecayingEstimatedHistogramReservoir reservoir)
Creates a newHistogram
with the given reservoir.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
-
-
-
Constructor Detail
-
ClearableHistogram
public ClearableHistogram(DecayingEstimatedHistogramReservoir reservoir)
Creates a newHistogram
with the given reservoir.- Parameters:
reservoir
- the reservoir to create a histogram from
-
-