Package org.apache.hadoop.hbase.metrics
Interface Histogram
- All Superinterfaces:
Metric
- All Known Implementing Classes:
HistogramImpl
A metric which measures the distribution of values.
-
Method Summary
-
Method Details
-
update
Adds a new value to the distribution.- Parameters:
value
- The value to add
-
update
Adds a new value to the distribution.- Parameters:
value
- The value to add
-
getCount
long getCount()Return the total number of values added to the histogram.- Returns:
- the total number of values.
-
snapshot
Snapshot the current values in the Histogram- Returns:
- a Snapshot of the distribution.
-