Top Methods
org.terracotta.statistics.derived.latency

public Interface LatencyHistogramQuery

Known Direct Subinterfaces
org.terracotta.statistics.derived.latency.LatencyHistogramStatistic
Imports
org.terracotta.statistics.derived.histogram.Histogram, java.util.List

Author
Mathieu Carbou

Method Summary

Modifier and TypeMethod and Description
public List<Histogram.Bucket>
public long
public Long

Returns:

The maximum value or null if no value
maximum
()

public default Long

Returns:

the median value or null if no value. Will return the upper bound of the approximated range.
median
()

public Long

Returns:

The minimum value or null if no value
minimum
()

public Long

Returns:

the value below which percent% of the observations may be found. Will return the upper bound of the approximated range.
percentile
(double
the percentage (0.0-1.0)
percent
)

public long[]

Returns:

the inclusive bounds (min and max) representing the range containing the right value for the given percent%-ile.
percentileBounds
(double
the percentage (0.0-1.0)
percent
)

Method Detail

bucketsback to summary
public List<Histogram.Bucket> buckets()
countback to summary
public long count()
maximumback to summary
public Long maximum()
Returns:Long

The maximum value or null if no value

medianback to summary
public default Long median()
Returns:Long

the median value or null if no value. Will return the upper bound of the approximated range.

minimumback to summary
public Long minimum()
Returns:Long

The minimum value or null if no value

percentileback to summary
public Long percentile(double percent)
Parameters
percent:double

the percentage (0.0-1.0)

Returns:Long

the value below which percent% of the observations may be found. Will return the upper bound of the approximated range.

percentileBoundsback to summary
public long[] percentileBounds(double percent)
Parameters
percent:double

the percentage (0.0-1.0)

Returns:long[]

the inclusive bounds (min and max) representing the range containing the right value for the given percent%-ile.