public static interface Histogram.Statistics
Modifier and Type | Method and Description |
---|---|
long |
max()
Returns the maximum value of the histogram observations.
|
double |
mean()
Returns the mean value of the histogram observations.
|
long |
min()
Returns the minimum value of the histogram observations.
|
long |
percentile(double percentile)
Returns the percentile value based on the histogram statistics.
|
int |
size()
Return the number of values that the statistics computation is based on.
|
double |
stdDev()
Returns the standard deviation of the histogram distribution.
|
int size()
If the number of sampling is less than the reservoir size, the sampling count should be returned. Otherwise, the reservoir size is returned.
double mean()
double stdDev()
long max()
long min()
long percentile(double percentile)
percentile
- percentile point in double. E.g., 0.75 means 75 percentile. It is up to the
implementation to decide what valid percentile points are supported.