Class AvgMinMaxCounterSet
java.lang.Object
org.apache.zookeeper.server.metric.Metric
org.apache.zookeeper.server.metric.AvgMinMaxCounterSet
- 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
-
AvgMinMaxCounterSet
-
-
Method Details
-
addDataPoint
-
resetMax
public void resetMax() -
reset
public void reset() -
add
Description copied from interface:SummarySetRegister a value.This method is thread safe, The MetricsProvider will take care of synchronization.
- Specified by:
addin interfaceSummarySet- Overrides:
addin classMetric- Parameters:
key- the key to access the Summary for the given keyvalue- current value
-
values
-