Package org.apache.hadoop.metrics2.util
Class MetricSampleQuantiles.SampleItem
java.lang.Object
org.apache.hadoop.metrics2.util.MetricSampleQuantiles.SampleItem
- Enclosing class:
- MetricSampleQuantiles
Describes a measured value passed to the estimator, tracking additional metadata required by
the CKMS algorithm.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
Difference between the item's greatest possible rank and lowest possible rank.private int
Difference between the lowest possible rank of the previous item, and the lowest possible rank of this item.private final long
Value of the sampled item (e.g. -
Constructor Summary
-
Method Summary
-
Field Details
-
value
Value of the sampled item (e.g. a measured latency value) -
g
Difference between the lowest possible rank of the previous item, and the lowest possible rank of this item. The sum of the g of all previous items yields this item's lower bound. -
delta
Difference between the item's greatest possible rank and lowest possible rank.
-
-
Constructor Details
-
SampleItem
-
-
Method Details