public interface Snapshot
| 限定符和类型 | 方法和说明 |
|---|---|
void |
dump(OutputStream output)
Writes the values of the snapshot to the given stream.
|
double |
get75thPercentile()
Returns the value at the 75th percentile in the distribution.
|
double |
get95thPercentile()
Returns the value at the 95th percentile in the distribution.
|
double |
get98thPercentile()
Returns the value at the 98th percentile in the distribution.
|
double |
get999thPercentile()
Returns the value at the 99.9th percentile in the distribution.
|
double |
get99thPercentile()
Returns the value at the 99th percentile in the distribution.
|
long |
getMax()
Returns the highest value in the snapshot.
|
double |
getMean()
Returns the arithmetic mean of the values in the snapshot.
|
double |
getMedian()
Returns the median value in the distribution.
|
long |
getMin()
Returns the lowest value in the snapshot.
|
double |
getStdDev()
Returns the standard deviation of the values in the snapshot.
|
double |
getValue(double quantile)
Returns the value at the given quantile.
|
long[] |
getValues()
Returns the entire set of values in the snapshot.
|
int |
size()
Returns the number of values in the snapshot.
|
double getValue(double quantile)
quantile - a given quantile, in [0..1]quantilelong[] getValues()
int size()
double getMedian()
double get75thPercentile()
double get95thPercentile()
double get98thPercentile()
double get99thPercentile()
double get999thPercentile()
long getMax()
double getMean()
long getMin()
double getStdDev()
void dump(OutputStream output)
output - an output streamCopyright © 2019. All rights reserved.