public abstract class Snapshot
extends java.lang.Object
Snapshot
.Constructor and Description |
---|
Snapshot() |
Modifier and Type | Method and Description |
---|---|
abstract void |
dump(java.io.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.
|
abstract long |
getMax()
Returns the highest value in the snapshot.
|
abstract double |
getMean()
Returns the arithmetic mean of the values in the snapshot.
|
double |
getMedian()
Returns the median value in the distribution.
|
abstract long |
getMin()
Returns the lowest value in the snapshot.
|
abstract double |
getStdDev()
Returns the standard deviation of the values in the snapshot.
|
abstract double |
getValue(double quantile)
Returns the value at the given quantile.
|
abstract long[] |
getValues()
Returns the entire set of values in the snapshot.
|
abstract int |
size()
Returns the number of values in the snapshot.
|
public abstract double getValue(double quantile)
quantile
- a given quantile, in [0..1]
quantile
public abstract long[] getValues()
public abstract int size()
public double getMedian()
public double get75thPercentile()
public double get95thPercentile()
public double get98thPercentile()
public double get99thPercentile()
public double get999thPercentile()
public abstract long getMax()
public abstract double getMean()
public abstract long getMin()
public abstract double getStdDev()
public abstract void dump(java.io.OutputStream output)
output
- an output stream