Class StatsGatherer
java.lang.Object
StatsGatherer
public class StatsGatherer
- extends java.lang.Object
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 |
histogram
private java.util.Hashtable histogram
bucketSize
private int bucketSize
name
private java.lang.String name
tag
private java.lang.String tag
mean
private double mean
skipSamples
private int skipSamples
skip
private int skip
num
public int num
maxVal
public long maxVal
cumulativeVal
public long cumulativeVal
StatsGatherer
StatsGatherer(java.lang.String name,
java.lang.String tag,
int bucketSize,
int skipSamples)
add
public void add(long val)
dumpHistogram
void dumpHistogram()
mean
double mean()