Interface LatencyHistogramQuery
-
- All Known Subinterfaces:
LatencyHistogramStatistic
- All Known Implementing Classes:
DefaultLatencyHistogramStatistic
public interface LatencyHistogramQuery
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.List<Histogram.Bucket>buckets()longcount()java.lang.Longmaximum()default java.lang.Longmedian()java.lang.Longminimum()java.lang.Longpercentile(double percent)long[]percentileBounds(double percent)
-
-
-
Method Detail
-
minimum
java.lang.Long minimum()
- Returns:
- The minimum value or null if no value
-
maximum
java.lang.Long maximum()
- Returns:
- The maximum value or null if no value
-
median
default java.lang.Long median()
- Returns:
- the median value or null if no value. Will return the upper bound of the approximated range.
-
count
long count()
-
percentile
java.lang.Long percentile(double percent)
- Parameters:
percent- the percentage (0.0-1.0)- Returns:
- the value below which percent% of the observations may be found. Will return the upper bound of the approximated range.
-
percentileBounds
long[] percentileBounds(double percent)
- Parameters:
percent- the percentage (0.0-1.0)- Returns:
- the inclusive bounds (min and max) representing the range containing the right value for the given percent%-ile.
-
buckets
java.util.List<Histogram.Bucket> buckets()
-
-