|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.utils.EstimatedHistogram
public class EstimatedHistogram
Nested Class Summary | |
---|---|
static class |
EstimatedHistogram.EstimatedHistogramSerializer
|
Field Summary | |
---|---|
static EstimatedHistogram.EstimatedHistogramSerializer |
serializer
|
Constructor Summary | |
---|---|
EstimatedHistogram()
|
|
EstimatedHistogram(int bucketCount)
|
|
EstimatedHistogram(long[] offsets,
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 |
Field Detail |
---|
public static EstimatedHistogram.EstimatedHistogramSerializer serializer
Constructor Detail |
---|
public EstimatedHistogram()
public EstimatedHistogram(int bucketCount)
public EstimatedHistogram(long[] offsets, long[] bucketData)
Method Detail |
---|
public long[] getBucketOffsets()
public void add(long n)
public long[] get(boolean reset)
public long min()
public long max()
public long median()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |