@InterfaceAudience.Private public class MutableTimeHistogram extends MutableRangeHistogram
desc, name
MAX_METRIC_NAME, MEAN_METRIC_NAME, MEDIAN_METRIC_NAME, MIN_METRIC_NAME, NINETY_FIFTH_PERCENTILE_METRIC_NAME, NINETY_NINETH_PERCENTILE_METRIC_NAME, NUM_OPS_METRIC_NAME, SEVENTY_FIFTH_PERCENTILE_METRIC_NAME
Constructor and Description |
---|
MutableTimeHistogram(org.apache.hadoop.metrics2.MetricsInfo info) |
MutableTimeHistogram(String name,
String description) |
Modifier and Type | Method and Description |
---|---|
long[] |
getRange()
Returns the ranges to be counted
|
String |
getRangeType()
Returns the type of range histogram size or time
|
AtomicLongArray |
getRangeVals()
Returns the range counts
|
add, snapshot, updateSnapshotRangeMetrics
getMax, getMean, getMin, updateSnapshotMetrics
public MutableTimeHistogram(org.apache.hadoop.metrics2.MetricsInfo info)
public String getRangeType()
MutableRangeHistogram
getRangeType
in class MutableRangeHistogram
public long[] getRange()
MutableRangeHistogram
getRange
in class MutableRangeHistogram
public AtomicLongArray getRangeVals()
MutableRangeHistogram
getRangeVals
in class MutableRangeHistogram
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.