Class AvgMinMaxPercentileCounter
- java.lang.Object
-
- org.apache.zookeeper.server.metric.Metric
-
- org.apache.zookeeper.server.metric.AvgMinMaxPercentileCounter
-
-
Constructor Summary
Constructors Constructor Description AvgMinMaxPercentileCounter(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(long value)
Register a value.void
addDataPoint(long value)
void
reset()
void
resetMax()
Map<String,Object>
values()
-
-
-
Constructor Detail
-
AvgMinMaxPercentileCounter
public AvgMinMaxPercentileCounter(String name)
-
-
Method Detail
-
addDataPoint
public void addDataPoint(long value)
-
resetMax
public void resetMax()
-
add
public void add(long value)
Description copied from interface:Summary
Register a value.This method is thread safe, The MetricsProvider will take care of synchronization.
-
-