com.ibm.websphere.pmi.stat
Interface Statistic
-
- All Superinterfaces:
- Statistic
Deprecated.As of 6.0, replaced withWSStatistic
public interface Statistic extends Statistic
TheStatisticinterface 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
Methods Modifier and Type Method and Description voidcombine(Statistic data)Deprecated.Aggregate the value of parameter data to this dataStatisticdelta(Statistic data)Deprecated.PmiDataInfogetDataInfo()Deprecated.Get config info for the data.intgetId()Deprecated.booleanisEnabled()Deprecated.voidreset()Deprecated.Called on the server side when the data is disabled due to level changevoidresetOnClient(Statistic data)Deprecated.Reset the data value to zero on client side.voidsetDataInfo(PmiDataInfo info)Deprecated.Set the static info for this data.voidsetDataInfo(PmiModuleConfig config)Deprecated.Set the static info for this data.voidsetLastSampleTime(long lastSampleTime)Deprecated.Set last sample time - server side onlyvoidsetStartTime(long startTime)Deprecated.Set start time - server side onlyjava.lang.StringtoString()Deprecated.java.lang.StringtoString(java.lang.String indent)Deprecated.voidupdate(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
Statistic delta(Statistic data)
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:
toStringin classjava.lang.Object
-
toString
java.lang.String toString(java.lang.String indent)
Deprecated.
-
isEnabled
boolean isEnabled()
Deprecated.
-
-