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 voidadd(long value)Register a value.voidaddDataPoint(long value)voidreset()voidresetMax()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:SummaryRegister a value.This method is thread safe, The MetricsProvider will take care of synchronization.
-
-