|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StatValue
A StatValue is a numerical indicator of some monitored
application state with support for simple statistics.
| Nested Class Summary | |
|---|---|
static interface |
StatValue.Listener
Listener for StatValue events |
| Method Summary | |
|---|---|
void |
addListener(StatValue.Listener listener)
|
long |
get()
|
long |
getMax()
|
double |
getMean()
|
long |
getMin()
|
Monitor |
getMonitor()
|
Role<? extends StatValue> |
getRole()
|
double |
getStandardDeviation()
Compute the standard deviation : measures the dispersion of values around the average value = sqrt( variance ). |
Unit |
getUnit()
|
void |
removeListener(StatValue.Listener listener)
|
void |
reset()
reset the statValue |
void |
set(long l,
Unit unit)
|
void |
setMonitor(Monitor monitor)
Set the monitor this value is attached to |
| Method Detail |
|---|
long get()
void set(long l,
Unit unit)
l - the value to setvoid reset()
long getMin()
long getMax()
double getMean()
double getStandardDeviation()
void setMonitor(Monitor monitor)
monitor - Monitor getMonitor()
Role<? extends StatValue> getRole()
Unit getUnit()
void addListener(StatValue.Listener listener)
void removeListener(StatValue.Listener listener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||