org.apache.cassandra.utils
Class EstimatedHistogram

java.lang.Object
  extended by org.apache.cassandra.utils.EstimatedHistogram

public class EstimatedHistogram
extends java.lang.Object


Constructor Summary
EstimatedHistogram()
           
EstimatedHistogram(int bucketCount)
           
EstimatedHistogram(long[] bucketData)
           
 
Method Summary
 void add(long n)
           
 long[] get(boolean reset)
           
 long[] getBucketOffsets()
           
 long max()
           
 long median()
           
 long min()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EstimatedHistogram

public EstimatedHistogram()

EstimatedHistogram

public EstimatedHistogram(int bucketCount)

EstimatedHistogram

public EstimatedHistogram(long[] bucketData)
Method Detail

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 © 2010 The Apache Software Foundation