public class Histogram extends Object
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all recorded values.
|
long |
getCount()
Returns the number of values recorded.
|
double |
getMax() |
double |
getMean() |
double |
getMin() |
Snapshot |
getSnapshot() |
double |
getStdDev() |
double |
getSum() |
void |
update(int value)
Adds a recorded value.
|
void |
update(long value)
Adds a recorded value.
|
public void clear()
public void update(int value)
value
- the length of the valuepublic void update(long value)
value
- the length of the valuepublic long getCount()
public double getMax()
public double getMin()
public double getMean()
public double getStdDev()
public double getSum()
public Snapshot getSnapshot()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.