Package org.apache.hadoop.metrics2.lib
Class MutableSizeHistogram
java.lang.Object
org.apache.hadoop.metrics2.lib.MutableMetric
org.apache.hadoop.metrics2.lib.MutableHistogram
org.apache.hadoop.metrics2.lib.MutableRangeHistogram
org.apache.hadoop.metrics2.lib.MutableSizeHistogram
- All Implemented Interfaces:
MetricHistogram
Extended histogram implementation with counters for metric size ranges.
-
Field Summary
FieldsFields inherited from class org.apache.hadoop.metrics2.lib.MutableHistogram
desc, histogram, nameFields inherited from interface org.apache.hadoop.metrics2.MetricHistogram
MAX_METRIC_NAME, MEAN_METRIC_NAME, MEDIAN_METRIC_NAME, MIN_METRIC_NAME, NINETIETH_PERCENTILE_METRIC_NAME, NINETY_EIGHTH_PERCENTILE_METRIC_NAME, NINETY_FIFTH_PERCENTILE_METRIC_NAME, NINETY_NINE_POINT_NINETH_PERCENTILE_METRIC_NAME, NINETY_NINETH_PERCENTILE_METRIC_NAME, NUM_OPS_METRIC_NAME, SEVENTY_FIFTH_PERCENTILE_METRIC_NAME, TWENTY_FIFTH_PERCENTILE_METRIC_NAME -
Constructor Summary
ConstructorsConstructorDescriptionMutableSizeHistogram(String name, String description) MutableSizeHistogram(org.apache.hadoop.metrics2.MetricsInfo info) -
Method Summary
Modifier and TypeMethodDescriptionlong[]Returns the ranges to be countedReturns the type of range histogram size or timeMethods inherited from class org.apache.hadoop.metrics2.lib.MutableRangeHistogram
getCount, snapshot, updateSnapshotRangeMetricsMethods inherited from class org.apache.hadoop.metrics2.lib.MutableHistogram
add, getMax, snapshot, updateSnapshotMetricsMethods inherited from class org.apache.hadoop.metrics2.lib.MutableMetric
changed, clearChanged, setChanged, snapshotMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.metrics2.MetricHistogram
add
-
Field Details
-
RANGE_TYPE
- See Also:
-
RANGES
-
-
Constructor Details
-
MutableSizeHistogram
-
MutableSizeHistogram
-
-
Method Details
-
getRangeType
Description copied from class:MutableRangeHistogramReturns the type of range histogram size or time- Specified by:
getRangeTypein classMutableRangeHistogram
-
getRanges
Description copied from class:MutableRangeHistogramReturns the ranges to be counted- Specified by:
getRangesin classMutableRangeHistogram
-