Interface Stats

All Known Implementing Classes:
StatsImpl

@Internal @Immutable public interface Stats
A snapshot of calculated statistics.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Average of accumulated values.
    long
    Number of accumulated values.
    double
    Maximum from accumulated values.
    double
    Minimum from accumulated values.
    Returns an unmodifiable map, that contains percentiles and corresponding values of accumulated data.
    double
    Returns standard deviation of accumulated values.
  • Method Details

    • getCount

      long getCount()
      Number of accumulated values.
    • getMin

      double getMin()
      Minimum from accumulated values.
    • getMax

      double getMax()
      Maximum from accumulated values.
    • getAverage

      double getAverage()
      Average of accumulated values.
    • getStdDeviation

      double getStdDeviation()
      Returns standard deviation of accumulated values.
    • getPercentiles

      Map<Integer,Double> getPercentiles()
      Returns an unmodifiable map, that contains percentiles and corresponding values of accumulated data.