Snapshot

public interface Snapshot

Represents a statistical snapshot.

Methods

get75thPercentile

double get75thPercentile()

Returns the value at the distribution’s 75th percentile.

Returns:the value at the 75th percentile

get95thPercentile

double get95thPercentile()

Returns the value at the distribution’s 95th percentile.

Returns:the value at the 95th percentile

get999thPercentile

double get999thPercentile()

Returns the value at the distribution’s 99.9th percentile.

Returns:the value at the 99.9th percentile

get99thPercentile

double get99thPercentile()

Returns the value at the distribution’s 99th percentile.

Returns:the value at the 99th percentile

getMax

long getMax()

Returns the distribution’s maximum value.

Returns:the distribution’s maximum value.

getMean

double getMean()

Returns the distribution’s mean value.

Returns:the distribution’s mean value

getMedian

double getMedian()

Returns the distribution’s median value.

Returns:the distribution’s median value

getMin

long getMin()

Return’s the distribution’s minimum value.

Returns:the distribution’s minimum value

getStdDev

double getStdDev()

Returns the standard deviation of the distribution’s values.

Returns:the standard deviation

getValue

double getValue(double quantile)

Returns a value at the given quantile.

Parameters:
  • quantile – the given quantile in the range [0..1]
Returns:

the value in the distribution at the given quantile

getValues

long[] getValues()

Returns the distribution’s entire set of values.

Returns:the entire set of values

size

int size()

Returns the number of values in the snapshot.

Returns:the number of values in the snapshot