com.ibm.websphere.pmi.stat
Interface Statistic
All Superinterfaces:
Deprecated. As of 6.0, replaced with
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.
Method Summary
Modifier and Type | Method and Description |
---|---|
|
combine(Statistic data)
Deprecated. Aggregate the value of parameter data to this data
|
delta(Statistic data)
Deprecated.
|
|
getDataInfo()
Deprecated. Get config info for the data.
|
|
|
getId()
Deprecated.
|
|
isEnabled()
Deprecated.
|
|
reset()
Deprecated. Called on the server side when the data is disabled due to level change
|
|
resetOnClient(Statistic data)
Deprecated. Reset the data value to zero on client side.
|
|
setDataInfo(PmiDataInfo info)
Deprecated. Set the static info for this data.
|
|
setDataInfo(PmiModuleConfig config)
Deprecated. Set the static info for this data.
|
|
setLastSampleTime(long lastSampleTime)
Deprecated. Set last sample time - server side only
|
|
setStartTime(long startTime)
Deprecated. Set start time - server side only
|
|
toString()
Deprecated.
|
|
toString(java.lang.String indent)
Deprecated.
|
|
update(Statistic data)
Deprecated. 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
reset
- void reset()
Deprecated.
Called on the server side when the data is disabled due to level change
setDataInfo
- void setDataInfo(PmiModuleConfig config)
Deprecated.
Set the static info for this data. This should be called on client side when using
JMX interface directly. No need to call it if you use PmiClient API.
setDataInfo
- void setDataInfo(PmiDataInfo info)
Deprecated.
Set the static info for this data. This should be called on client side when using
JMX interface directly. No need to call it if you use PmiClient API.
setLastSampleTime
- void setLastSampleTime(long lastSampleTime)
Deprecated.
Set last sample time - server side only
setStartTime
- void setStartTime(long startTime)
Deprecated.
Set start time - server side only
getId
- int getId()
Deprecated.
Returns:
data id
getDataInfo
- PmiDataInfo getDataInfo()
Deprecated.
Get config info for the data.
update
- void update(Statistic data)
Deprecated.
Update itself with the new value in data.
Parameters:
data
- must have the same data ID and type delta
Deprecated.
Parameters:
data
- must have the same data ID and type Returns:
an Statistic object whose value is the difference of (this - data)
combine
- void combine(Statistic data)
Deprecated.
Aggregate the value of parameter data to this data
Parameters:
data
- must have the same data ID and type resetOnClient
- void resetOnClient(Statistic data)
Deprecated.
Reset the data value to zero on client side. When using update method, the value
will always be the value since the last reset is called.
Parameters:
data
- must have the same data ID and type toString
- java.lang.String toString()
Deprecated.
Overrides:
toString
in class java.lang.Object
toString
- java.lang.String toString(java.lang.String indent)
Deprecated.
isEnabled
- boolean isEnabled()
Deprecated.