java.lang.Object
io.prometheus.metrics.model.snapshots.Quantile
Immutable representation of a Quantile.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Quantile
public Quantile(double quantile, double value) - Parameters:
quantile- expecting 0.0 <= quantile <= 1.0, otherwise anIllegalArgumentExceptionwill be thrown.value- the quantile value
-
-
Method Details
-
getQuantile
public double getQuantile() -
getValue
public double getValue()
-