Package org.apache.zookeeper.metrics
Interface SummarySet
- 
- All Known Implementing Classes:
 AvgMinMaxCounterSet,AvgMinMaxPercentileCounterSet
public interface SummarySetSummaries track the size and number of events. They are able to publish minumum, maximum, average values, depending on the capabilities of the MetricsProvider. A SummarySet is a set ofSummary. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(String key, long value)Register a value. 
 - 
 
- 
- 
Method Detail
- 
add
void add(String key, long value)
Register a value.This method is thread safe, The MetricsProvider will take care of synchronization.
- Parameters:
 key- the key to access the Summary for the given keyvalue- current value
 
 - 
 
 -