Package org.apache.zookeeper.metrics
Interface Summary
- All Known Implementing Classes:
AvgMinMaxCounter
,AvgMinMaxPercentileCounter
public interface Summary
Summaries track the size and number of events.
They are able to publish minumum, maximum, average values, depending on the capabilities of the MetricsProvider.
-
Method Summary
-
Method Details
-
add
void add(long value) Register a value.This method is thread safe, The MetricsProvider will take care of synchronization.
- Parameters:
value
- current value
-