Package com.atlassian.bamboo.performance
Class StatsImpl
- java.lang.Object
-
- com.atlassian.bamboo.performance.StatsImpl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatsImpl.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StatsImpl.Builderbuilder()booleanequals(Object o)doublegetAverage()Average of accumulated values.longgetCount()Number of accumulated values.doublegetMax()Maximum from accumulated values.doublegetMin()Minimum from accumulated values.Map<Integer,Double>getPercentiles()Returns an unmodifiable map, that contains percentiles and corresponding values of accumulated data.doublegetStdDeviation()Returns standard deviation of accumulated values.inthashCode()StringtoString()
-
-
-
Method Detail
-
getCount
public long getCount()
Number of accumulated values.
-
getMin
public double getMin()
Minimum from accumulated values.
-
getMax
public double getMax()
Maximum from accumulated values.
-
getAverage
public double getAverage()
Average of accumulated values.- Specified by:
getAveragein interfaceStats
-
getStdDeviation
public double getStdDeviation()
Returns standard deviation of accumulated values.- Specified by:
getStdDeviationin interfaceStats
-
getPercentiles
public Map<Integer,Double> getPercentiles()
Returns an unmodifiable map, that contains percentiles and corresponding values of accumulated data.- Specified by:
getPercentilesin interfaceStats
-
builder
public static StatsImpl.Builder builder()
-
-