@InterfaceAudience.Private public class MutableSizeHistogram extends MutableRangeHistogram
Modifier and Type | Field and Description |
---|---|
private static String |
RANGE_TYPE |
private static long[] |
RANGES |
desc, histogram, name
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 and Description |
---|
MutableSizeHistogram(org.apache.hadoop.metrics2.MetricsInfo info) |
MutableSizeHistogram(String name,
String description) |
Modifier and Type | Method and Description |
---|---|
long[] |
getRanges()
Returns the ranges to be counted
|
String |
getRangeType()
Returns the type of range histogram size or time
|
getCount, snapshot, updateSnapshotRangeMetrics
add, getMax, snapshot, updateSnapshotMetrics
changed, clearChanged, setChanged, snapshot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add
private static final String RANGE_TYPE
private static final long[] RANGES
public MutableSizeHistogram(org.apache.hadoop.metrics2.MetricsInfo info)
public MutableSizeHistogram(String name, String description)
public String getRangeType()
MutableRangeHistogram
getRangeType
in class MutableRangeHistogram
public long[] getRanges()
MutableRangeHistogram
getRanges
in class MutableRangeHistogram
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.