Class StatsImpl

java.lang.Object
com.atlassian.bamboo.performance.StatsImpl
All Implemented Interfaces:
Stats

@Immutable public final class StatsImpl extends Object implements Stats
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCount

      public long getCount()
      Number of accumulated values.
      Specified by:
      getCount in interface Stats
    • getMin

      public double getMin()
      Minimum from accumulated values.
      Specified by:
      getMin in interface Stats
    • getMax

      public double getMax()
      Maximum from accumulated values.
      Specified by:
      getMax in interface Stats
    • getAverage

      public double getAverage()
      Average of accumulated values.
      Specified by:
      getAverage in interface Stats
    • getStdDeviation

      public double getStdDeviation()
      Returns standard deviation of accumulated values.
      Specified by:
      getStdDeviation in interface Stats
    • getPercentiles

      public Map<Integer,Double> getPercentiles()
      Returns an unmodifiable map, that contains percentiles and corresponding values of accumulated data.
      Specified by:
      getPercentiles in interface Stats
    • builder

      public static StatsImpl.Builder builder()