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.HistogramAdds ability to reset a histogram
-
-
Constructor Summary
Constructors Constructor Description ClearableHistogram(DecayingEstimatedHistogramReservoir reservoir)Creates a newHistogramwith the given reservoir.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()
-
-
-
Constructor Detail
-
ClearableHistogram
public ClearableHistogram(DecayingEstimatedHistogramReservoir reservoir)
Creates a newHistogramwith the given reservoir.- Parameters:
reservoir- the reservoir to create a histogram from
-
-