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
Constructors -
Method Summary
-
Constructor Details
-
StatsAccumulatorImpl
public StatsAccumulatorImpl()
-
-
Method Details
-
add
public void add(double value) Description copied from interface:StatsAccumulatorRegister the next value.- Specified by:
addin interfaceStatsAccumulator
-
getStats
Description copied from interface:StatsAccumulatorGet 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:
getStatsin interfaceStatsAccumulator
-