类 StatsBuckets
java.lang.Object
org.apache.bookkeeper.mledger.util.StatsBuckets
Create stats buckets to have frequency distribution of samples.
-
构造器详细资料
-
StatsBuckets
public StatsBuckets(long... boundaries)
-
-
方法详细资料
-
addValue
public void addValue(long value) -
refresh
public void refresh() -
reset
public void reset() -
getBuckets
public long[] getBuckets() -
getCount
public long getCount() -
getSum
public long getSum() -
getAvg
public double getAvg() -
addAll
-