Class StatsBuckets
java.lang.Object
org.apache.pulsar.websocket.stats.StatsBuckets
Create stats buckets to have frequency distribution of samples.
-
Constructor Details
-
StatsBuckets
-
StatsBuckets
public StatsBuckets(long... boundaries)
-
-
Method Details
-
addAll
-
addValue
public void addValue(long value) -
refresh
public void refresh() -
getBuckets
public long[] getBuckets() -
getCount
public long getCount() -
getSum
public long getSum() -
getAvg
public double getAvg()
-