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
Fields inherited from class org.apache.hadoop.metrics2.lib.MutableHistogram
desc, histogram, name
Fields 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
ConstructorDescriptionMutableSizeHistogram
(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, updateSnapshotRangeMetrics
Methods inherited from class org.apache.hadoop.metrics2.lib.MutableHistogram
add, getMax, snapshot, updateSnapshotMetrics
Methods inherited from class org.apache.hadoop.metrics2.lib.MutableMetric
changed, clearChanged, setChanged, snapshot
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:MutableRangeHistogram
Returns the type of range histogram size or time- Specified by:
getRangeType
in classMutableRangeHistogram
-
getRanges
Description copied from class:MutableRangeHistogram
Returns the ranges to be counted- Specified by:
getRanges
in classMutableRangeHistogram
-