@InterfaceAudience.Private public class MutableTimeHistogram extends MutableRangeHistogram
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 |
---|
MutableTimeHistogram(org.apache.hadoop.metrics2.MetricsInfo info) |
MutableTimeHistogram(String name,
String description) |
MutableTimeHistogram(String name,
String description,
long expectedMax) |
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
|
snapshot, updateSnapshotRangeMetrics
add, getMax, snapshot, updateSnapshotMetrics
changed, clearChanged, setChanged, snapshot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add
public MutableTimeHistogram(org.apache.hadoop.metrics2.MetricsInfo info)
public String getRangeType()
MutableRangeHistogram
getRangeType
in class MutableRangeHistogram
public long[] getRanges()
MutableRangeHistogram
getRanges
in class MutableRangeHistogram
Copyright © 2007–2019 Cloudera. All rights reserved.