WSStatistic
public interface Statistic extends Statistic
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.
Modifier and Type | Method and Description |
---|---|
void |
combine(Statistic data)
Deprecated.
Aggregate the value of parameter data to this data
|
Statistic |
delta(Statistic data)
Deprecated.
|
PmiDataInfo |
getDataInfo()
Deprecated.
Get config info for the data.
|
int |
getId()
Deprecated.
|
boolean |
isEnabled()
Deprecated.
|
void |
reset()
Deprecated.
Called on the server side when the data is disabled due to level change
|
void |
resetOnClient(Statistic data)
Deprecated.
Reset the data value to zero on client side.
|
void |
setDataInfo(PmiDataInfo info)
Deprecated.
Set the static info for this data.
|
void |
setDataInfo(PmiModuleConfig config)
Deprecated.
Set the static info for this data.
|
void |
setLastSampleTime(long lastSampleTime)
Deprecated.
Set last sample time - server side only
|
void |
setStartTime(long startTime)
Deprecated.
Set start time - server side only
|
java.lang.String |
toString()
Deprecated.
|
java.lang.String |
toString(java.lang.String indent)
Deprecated.
|
void |
update(Statistic data)
Deprecated.
Update itself with the new value in data.
|
getDescription, getLastSampleTime, getName, getStartTime, getUnit
void reset()
void setDataInfo(PmiModuleConfig config)
void setDataInfo(PmiDataInfo info)
void setLastSampleTime(long lastSampleTime)
void setStartTime(long startTime)
int getId()
PmiDataInfo getDataInfo()
void update(Statistic data)
data
- must have the same data ID and typeStatistic delta(Statistic data)
data
- must have the same data ID and typevoid combine(Statistic data)
data
- must have the same data ID and typevoid resetOnClient(Statistic data)
data
- must have the same data ID and typejava.lang.String toString()
toString
in class java.lang.Object
java.lang.String toString(java.lang.String indent)
boolean isEnabled()