Package org.apache.hadoop.metrics2
Interface MetricHistogram
- All Known Implementing Classes:
MutableHistogram
,MutableRangeHistogram
,MutableSizeHistogram
,MutableTimeHistogram
Metrics Histogram interface. Implementing classes will expose computed quartile values through
the metrics system.
-
Field Summary
-
Method Summary
-
Field Details
-
NUM_OPS_METRIC_NAME
- See Also:
-
MIN_METRIC_NAME
- See Also:
-
MAX_METRIC_NAME
- See Also:
-
MEAN_METRIC_NAME
- See Also:
-
MEDIAN_METRIC_NAME
- See Also:
-
TWENTY_FIFTH_PERCENTILE_METRIC_NAME
- See Also:
-
SEVENTY_FIFTH_PERCENTILE_METRIC_NAME
- See Also:
-
NINETIETH_PERCENTILE_METRIC_NAME
- See Also:
-
NINETY_FIFTH_PERCENTILE_METRIC_NAME
- See Also:
-
NINETY_EIGHTH_PERCENTILE_METRIC_NAME
- See Also:
-
NINETY_NINETH_PERCENTILE_METRIC_NAME
- See Also:
-
NINETY_NINE_POINT_NINETH_PERCENTILE_METRIC_NAME
- See Also:
-
-
Method Details
-
add
Add a single value to a histogram's stream of values.- 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.
-