@InterfaceAudience.Private public interface Snapshot
Modifier and Type | Method and Description |
---|---|
long |
get25thPercentile()
Returns the value at the 25th percentile in the distribution.
|
long |
get75thPercentile()
Returns the value at the 75th percentile in the distribution.
|
long |
get90thPercentile()
Returns the value at the 90th percentile in the distribution.
|
long |
get95thPercentile()
Returns the value at the 95th percentile in the distribution.
|
long |
get98thPercentile()
Returns the value at the 98th percentile in the distribution.
|
long |
get999thPercentile()
Returns the value at the 99.9th percentile in the distribution.
|
long |
get99thPercentile()
Returns the value at the 99th percentile in the distribution.
|
long |
getCount()
Returns the number of values in the snapshot.
|
long |
getCountAtOrBelow(long val)
Returns the total count below the given value
|
long |
getMax()
Returns the highest value in the snapshot.
|
long |
getMean()
Returns the arithmetic mean of the values in the snapshot.
|
long |
getMedian()
Returns the median value in the distribution.
|
long |
getMin()
Returns the lowest value in the snapshot.
|
long[] |
getQuantiles()
Return the values with the default quantiles.
|
long[] |
getQuantiles(double[] quantiles)
Return the values with the given quantiles.
|
long[] getQuantiles(double[] quantiles)
quantiles
- the requested quantiles.long[] getQuantiles()
long getCount()
long getCountAtOrBelow(long val)
val
- the valuelong get25thPercentile()
long get75thPercentile()
long get90thPercentile()
long get95thPercentile()
long get98thPercentile()
long get99thPercentile()
long get999thPercentile()
long getMedian()
long getMax()
long getMean()
long getMin()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.