|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Statistic
This inteface represents statistical data. It is a generic statistic interface.
Method Summary | |
---|---|
void |
combine(Statistic otherStatistic)
Combines the value of the provided statistic with this object. |
Statistic |
delta(Statistic otherStatistic)
Gets the difference between two statistics. |
String |
getDescription()
Gets the description of this statistic. |
int |
getId()
Gets the statistic identifier. |
long |
getLastSampleTime()
Gets the time the most recent measurement was taken. |
String |
getName()
Gets the name of this statistic. |
long |
getStartTime()
Gets the time the first measurement was taken. |
String |
getUnit()
Gets the unit of measurement for this statistic. |
boolean |
isEnabled()
Gets whether this statistic is being monitored. |
void |
reset()
Resets the statistic to zero. |
String |
toString()
Gets the String representation of this statistic. |
void |
update(Statistic newStatistic)
Updates this statistic with the given value. |
Method Detail |
---|
String getName()
String getUnit()
String getDescription()
long getStartTime()
long getLastSampleTime()
int getId()
boolean isEnabled()
true
if monitoring for this statistic is enabledvoid update(Statistic newStatistic)
newStatistic
- must have the same statistic ID and typeStatistic delta(Statistic otherStatistic)
The provided Statistic
must have the same statistic
ID and type. The returned Statistic value is calculated
by subtracting the provided statistic from this object.
otherStatistic
- a statistic to compare with
null
if the ID and type do not matchvoid combine(Statistic otherStatistic)
The provided Statistic
must have the same statistic
ID and type. If they ID and type do not match this method will
do nothing.
otherStatistic
- the statistic to combine with this objectvoid reset()
Typically, this method is not called by the application.
String toString()
toString
in class Object
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |