Class AvgMinMaxPercentileCounterSet
java.lang.Object
org.apache.zookeeper.server.metric.Metric
org.apache.zookeeper.server.metric.AvgMinMaxPercentileCounterSet
- All Implemented Interfaces:
SummarySet
Generic set of long counters that keep track of min/max/avg
for different keys.
The counter is thread-safe
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AvgMinMaxPercentileCounterSet
-
-
Method Details
-
addDataPoint
-
resetMax
public void resetMax() -
reset
public void reset() -
add
Description copied from interface:SummarySet
Register a value.This method is thread safe, The MetricsProvider will take care of synchronization.
- Specified by:
add
in interfaceSummarySet
- Overrides:
add
in classMetric
- Parameters:
key
- the key to access the Summary for the given keyvalue
- current value
-
values
-