@InterfaceAudience.Public @InterfaceStability.Evolving public class MutableInverseQuantiles extends MutableQuantiles
Modifier and Type | Field and Description |
---|---|
static org.apache.hadoop.metrics2.util.Quantile[] |
INVERSE_QUANTILES |
previousSnapshot, QUANTILES
Constructor and Description |
---|
MutableInverseQuantiles(String name,
String description,
String sampleName,
String valueName,
int intervalSecs)
Instantiates a new
MutableInverseQuantiles for a metric that rolls itself
over on the specified time interval. |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.metrics2.util.Quantile[] |
getQuantiles()
Returns the array of Inverse Quantiles declared in MutableInverseQuantiles.
|
add, addQuantileInfo, getEstimator, getInterval, setEstimator, setInterval, setNumInfo, setQuantileInfos, snapshot, stop
changed, clearChanged, setChanged, snapshot
@VisibleForTesting public static final org.apache.hadoop.metrics2.util.Quantile[] INVERSE_QUANTILES
public MutableInverseQuantiles(String name, String description, String sampleName, String valueName, int intervalSecs)
MutableInverseQuantiles
for a metric that rolls itself
over on the specified time interval.name
- of the metricdescription
- long-form textual description of the metricsampleName
- type of items in the stream (e.g., "Ops")valueName
- type of the valuesintervalSecs
- rollover interval (in seconds) of the estimatorpublic org.apache.hadoop.metrics2.util.Quantile[] getQuantiles()
getQuantiles
in class MutableQuantiles
Copyright © 2024 Apache Software Foundation. All rights reserved.