Class ValueAtPercentile
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.data.ValueAtPercentile
-
@Immutable public abstract class ValueAtPercentile extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ValueAtPercentilecreate(double percentile, double value)abstract doublegetPercentile()The percentile of a distribution.abstract doublegetValue()The value at the given percentile of a distribution.
-
-
-
Method Detail
-
create
public static ValueAtPercentile create(double percentile, double value)
-
getPercentile
public abstract double getPercentile()
The percentile of a distribution. Must be in the interval [0.0, 100.0].- Returns:
- the percentile.
-
getValue
public abstract double getValue()
The value at the given percentile of a distribution.- Returns:
- the value at the percentile.
-
-