|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.solr.util.stats.Histogram
public class Histogram
A metric which calculates the distribution of a value.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |