|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Statistic
interface extends the JSR-077's Statistic interface.
Note that this Statistic interface is an extension of JSR77's Statistic interface. If you use PMI API, you will get objects of this interface.
Method Summary | |
---|---|
void |
combine(Statistic data)
Aggregate the value of parameter data to this data |
Statistic |
delta(Statistic data)
|
com.ibm.websphere.pmi.PmiDataInfo |
getDataInfo()
Get config info for the data. |
int |
getId()
|
boolean |
isEnabled()
|
void |
reset()
Called on the server side when the data is disabled due to level change |
void |
resetOnClient(Statistic data)
Reset the data value to zero on client side. |
void |
setDataInfo(com.ibm.websphere.pmi.PmiDataInfo info)
Set the static info for this data. |
void |
setDataInfo(com.ibm.websphere.pmi.PmiModuleConfig config)
Set the static info for this data. |
void |
setLastSampleTime(long lastSampleTime)
Set last sample time - server side only |
void |
setStartTime(long startTime)
Set start time - server side only |
java.lang.String |
toString()
|
java.lang.String |
toString(java.lang.String indent)
|
void |
update(Statistic data)
Update itself with the new value in data. |
Methods inherited from interface com.ibm.websphere.management.statistics.Statistic |
---|
getDescription, getLastSampleTime, getName, getStartTime, getUnit |
Method Detail |
public void reset()
public void setDataInfo(com.ibm.websphere.pmi.PmiModuleConfig config)
public void setDataInfo(com.ibm.websphere.pmi.PmiDataInfo info)
public void setLastSampleTime(long lastSampleTime)
public void setStartTime(long startTime)
public int getId()
public com.ibm.websphere.pmi.PmiDataInfo getDataInfo()
public void update(Statistic data)
data
- must have the same data ID and typepublic Statistic delta(Statistic data)
data
- must have the same data ID and typepublic void combine(Statistic data)
data
- must have the same data ID and typepublic void resetOnClient(Statistic data)
data
- must have the same data ID and typepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.lang.String indent)
public boolean isEnabled()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |