Interface LatencyHistogramQuery
- All Known Subinterfaces:
LatencyHistogramStatistic
- All Known Implementing Classes:
DefaultLatencyHistogramStatistic
public interface LatencyHistogramQuery
-
Method Summary
Modifier and TypeMethodDescriptionbuckets()longcount()maximum()default Longmedian()minimum()percentile(double percent) long[]percentileBounds(double percent)
-
Method Details
-
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
- Returns:
- the median value or null if no value. Will return the upper bound of the approximated range.
-
count
long count() -
percentile
- 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()
-