@NotThreadSafe public class StatsAccumulatorImpl extends Object implements StatsAccumulator
COMPRESSION, PERCENTILES
Constructor and Description |
---|
StatsAccumulatorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
add(double value)
Register the next value.
|
Stats |
getStats()
Get a snapshot of statistics from values accumulated so far.
|
public void add(double value)
StatsAccumulator
add
in interface StatsAccumulator
@Nullable public Stats getStats()
StatsAccumulator
getStats
in interface StatsAccumulator
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.