Package cz.o2.proxima.core.metrics
Class ApproxPercentileMetric
- java.lang.Object
-
- cz.o2.proxima.core.metrics.Metric<Stats>
-
- cz.o2.proxima.core.metrics.ApproxPercentileMetric
-
- All Implemented Interfaces:
ApproxPercentileMetricMXBean,java.io.Serializable
@Stable public class ApproxPercentileMetric extends Metric<Stats> implements ApproxPercentileMetricMXBean
An approximation of 1st, 10th, 30th, 50th, 70th, 90th and 99th percentile.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatsgetValue()Retrieve current value of the metric.voidincrement(double d)Increment the metric by given double value.voidreset()Reset the metric to initial state.
-
-
-
Method Detail
-
increment
public void increment(double d)
Description copied from class:MetricIncrement the metric by given double value.
-
getValue
public Stats getValue()
Description copied from class:MetricRetrieve current value of the metric.- Specified by:
getValuein interfaceApproxPercentileMetricMXBean- Specified by:
getValuein classMetric<Stats>- Returns:
- current value
-
-