com.ibm.websphere.pmi.stat
Interface Stats
Deprecated. As of 6.0, replaced with
WSStats
- public interface Stats
- extends Stats
Stats
interface extends the JSR-077's Stats interface.
This extended interface supports sub-Stats in it.
Note that this Stats interface is an extension of JSR77's Stats interface. You can call any method in JSR77 on it. If you use PMI API, you will get objects of this interface. But if you use JSR77's getStats method, you will get objects of JSR77's Stats interface. Then, you will have to cast it to be PMI's stats interface if you want to use the additional methods provided by PMI.
Field Summary
Modifier and Type | Field and Description |
---|---|
|
UNIT_KB
Deprecated.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
add(Statistic newMember)
Deprecated. add a Statistic data - usually only called on server side
|
|
add(Stats newMember)
Deprecated. add a Stats - usually only called on server side
|
|
getLevel()
Deprecated. get the instrumentation level
|
|
getName()
Deprecated.
|
getStatistic(int dataId)
Deprecated. get Statistic by data ID
|
|
getStats(java.lang.String name)
Deprecated.
|
|
|
getStatsType()
Deprecated.
|
|
getSubStats()
Deprecated.
|
|
getTime()
Deprecated. Set query time - the time when the client request comes to server
|
|
getType()
Deprecated.
|
|
listStatisticNames()
Deprecated. same as getStatisticNames method
|
listStatistics()
Deprecated. same as getStatistics method
|
|
|
listSubStats()
Deprecated. same as getSubStats method
|
|
resetOnClient(boolean recursive)
Deprecated. Reset on client only
|
|
setConfig(PmiModuleConfig config)
Deprecated. Call this method to set the static config info.
|
|
setLevel(int level)
Deprecated. set level if level is not passed via constructor
|
|
setStatistics(java.util.ArrayList dataMembers)
Deprecated. set Statistic data - usually only called on server side
|
|
setSubStats(java.util.ArrayList subCollections)
Deprecated. set sub-Stats - usually only called on server side
|
|
toString()
Deprecated.
|
|
toString(java.lang.String indent)
Deprecated.
|
|
update(Stats newStats,boolean keepOld,boolean recursiveUpdate)
Deprecated. Update the Stats object
|
Methods inherited from interface com.ibm.websphere.management.statistics.Stats |
---|
getStatistic, getStatisticNames, getStatistics |
Field Detail
UNIT_KB
- static final java.lang.String UNIT_KB
Method Detail
getName
- java.lang.String getName()
getStatsType
- java.lang.String getStatsType()
getType
- int getType()
getLevel
- int getLevel()
getTime
- long getTime()
setConfig
- void setConfig(PmiModuleConfig config)
Note that the PMI data retrieved from server only have the value and time stamp information. If you use PmiClient API, PmiClient will link the static config info with the dynamic value together for the data. However, if you use JMX API direclty, you have to link them togehter after you get the data. Otherwise, static config info like name, description, unit, etc will be null. Static config info can be cached and used for all the data retrieval.
setStatistics
- void setStatistics(java.util.ArrayList dataMembers)
setSubStats
- void setSubStats(java.util.ArrayList subCollections)
add
- boolean add(Statistic newMember)
add
- boolean add(Stats newMember)
setLevel
- void setLevel(int level)
getStatistic
- Statistic getStatistic(int dataId)
getStats
- Stats getStats(java.lang.String name)
getSubStats
- Stats[] getSubStats()
listStatistics
- Statistic[] listStatistics()
listSubStats
- Stats[] listSubStats()
listStatisticNames
- java.lang.String[] listStatisticNames( )
update
- void update(Stats newStats,
- boolean keepOld,
- boolean recursiveUpdate)
newStats
- the new value of the Stats keepOld
- do not remove the old data/subStats that are not in newStats when it is true recursiveUpdate
- recursively update the sub-stats when it is true resetOnClient
- void resetOnClient(boolean recursive)
toString
- java.lang.String toString()
toString
in class java.lang.Object
toString
- java.lang.String toString(java.lang.String indent)