Class StatsGatherer

java.lang.Object
  extended by StatsGatherer

public class StatsGatherer
extends java.lang.Object


Field Summary
 long cumulativeVal
           
 long maxVal
           
 int num
           
 
Constructor Summary
StatsGatherer(java.lang.String name, java.lang.String tag, int bucketSize, int skipSamples)
           
 
Method Summary
 void add(long val)
           
(package private)  void dumpHistogram()
           
(package private)  double mean()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

num

public int num

maxVal

public long maxVal

cumulativeVal

public long cumulativeVal
Constructor Detail

StatsGatherer

StatsGatherer(java.lang.String name,
              java.lang.String tag,
              int bucketSize,
              int skipSamples)
Method Detail

add

public void add(long val)

dumpHistogram

void dumpHistogram()

mean

double mean()