org.apache.cassandra.utils
Class EstimatedHistogram
java.lang.Object
org.apache.cassandra.utils.EstimatedHistogram
public class EstimatedHistogram
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serializer
public static EstimatedHistogram.EstimatedHistogramSerializer serializer
EstimatedHistogram
public EstimatedHistogram()
EstimatedHistogram
public EstimatedHistogram(int bucketCount)
EstimatedHistogram
public EstimatedHistogram(long[] bucketData)
EstimatedHistogram
public EstimatedHistogram(long[] offsets,
long[] bucketData)
getBucketOffsets
public long[] getBucketOffsets()
add
public void add(long n)
get
public long[] get(boolean reset)
min
public long min()
max
public long max()
median
public long median()
Copyright © 2011 The Apache Software Foundation