Class AvgMinMaxPercentileCounter
- java.lang.Object
-
- org.apache.zookeeper.server.metric.Metric
-
- org.apache.zookeeper.server.metric.AvgMinMaxPercentileCounter
-
-
Constructor Summary
Constructors Constructor Description AvgMinMaxPercentileCounter(java.lang.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()java.util.Map<java.lang.String,java.lang.Object>values()
-
-
-
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.
-
-