Package com.atlassian.bamboo.performance
Class StatsAccumulatorImpl
java.lang.Object
com.atlassian.bamboo.performance.StatsAccumulatorImpl
- All Implemented Interfaces:
StatsAccumulator
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.utils.statistics.StatsAccumulator
COMPRESSION, PERCENTILES
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StatsAccumulatorImpl
public StatsAccumulatorImpl()
-
-
Method Details
-
add
public void add(double value) Description copied from interface:StatsAccumulator
Register the next value.- Specified by:
add
in interfaceStatsAccumulator
-
getStats
Description copied from interface:StatsAccumulator
Get a snapshot of statistics from values accumulated so far. Returns null if no statistics have been collected. Note that provided percentiles are only an estimation.- Specified by:
getStats
in interfaceStatsAccumulator
-