public class StatisticsTimeLine extends Object
Constructor and Description |
---|
StatisticsTimeLine(int length) |
Modifier and Type | Method and Description |
---|---|
double |
addAndGet(double value) |
double[] |
getTimeLine() |
boolean |
isAvailable() |
void |
restartTimeLine()
restarts the time-line measurement.
|
String |
toString() |
public StatisticsTimeLine(int length)
length
- how many statistics samples to keeppublic double addAndGet(double value)
public double[] getTimeLine()
isAvailable()
returns false.public boolean isAvailable()
true
if time-line has enough sampled statistics; otherwise
false
public void restartTimeLine()
Copyright © GigaSpaces.