|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Statistic
Statistic implementations provide a raw data collection medium.
| Nested Class Summary | |
|---|---|
static class |
Statistic.UpdateMode
VALUE - A statistic with this update mode is a simple value that is a straight forward representation of the updated value. |
| Method Summary | |
|---|---|
long |
getUpdateCount()
Gets the number of times the statistic has been updated since the last reset. |
long |
getValue()
Gets the current value of the statistic since the last reset. |
void |
increment()
Shorthand for updateValue(1). |
void |
reset()
Resets the statistic's value and update count to zero. |
void |
updateValue(long value)
Update statistic value. |
| Method Detail |
|---|
void increment()
void updateValue(long value)
Statistic.UpdateMode
value - the valuelong getValue()
long getUpdateCount()
void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||