Interface LatencyHistogramQuery
-
- All Known Subinterfaces:
LatencyHistogramStatistic
- All Known Implementing Classes:
DefaultLatencyHistogramStatistic
public interface LatencyHistogramQuery- Author:
- Mathieu Carbou
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description List<Histogram.Bucket>buckets()longcount()Longmaximum()default Longmedian()Longminimum()Longpercentile(double percent)long[]percentileBounds(double percent)
-
-
-
Method Detail
-
minimum
Long minimum()
- Returns:
- The minimum value or null if no value
-
maximum
Long maximum()
- Returns:
- The maximum value or null if no value
-
median
default Long median()
- Returns:
- the median value or null if no value. Will return the upper bound of the approximated range.
-
count
long count()
-
percentile
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
List<Histogram.Bucket> buckets()
-
-