|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
WSStats
public interface Stats
The 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 | |
---|---|
static java.lang.String |
UNIT_KB
Deprecated. |
Method Summary | |
---|---|
boolean |
add(Statistic newMember)
Deprecated. add a Statistic data - usually only called on server side |
boolean |
add(Stats newMember)
Deprecated. add a Stats - usually only called on server side |
int |
getLevel()
Deprecated. get the instrumentation level |
java.lang.String |
getName()
Deprecated. |
Statistic |
getStatistic(int dataId)
Deprecated. get Statistic by data ID |
Stats |
getStats(java.lang.String name)
Deprecated. |
java.lang.String |
getStatsType()
Deprecated. |
Stats[] |
getSubStats()
Deprecated. |
long |
getTime()
Deprecated. Set query time - the time when the client request comes to server |
int |
getType()
Deprecated. |
java.lang.String[] |
listStatisticNames()
Deprecated. same as getStatisticNames method |
Statistic[] |
listStatistics()
Deprecated. same as getStatistics method |
Stats[] |
listSubStats()
Deprecated. same as getSubStats method |
void |
resetOnClient(boolean recursive)
Deprecated. Reset on client only |
void |
setConfig(PmiModuleConfig config)
Deprecated. Call this method to set the static config info. |
void |
setLevel(int level)
Deprecated. set level if level is not passed via constructor |
void |
setStatistics(java.util.ArrayList dataMembers)
Deprecated. set Statistic data - usually only called on server side |
void |
setSubStats(java.util.ArrayList subCollections)
Deprecated. set sub-Stats - usually only called on server side |
java.lang.String |
toString()
Deprecated. |
java.lang.String |
toString(java.lang.String indent)
Deprecated. |
void |
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 |
---|
static final java.lang.String UNIT_KB
Method Detail |
---|
java.lang.String getName()
java.lang.String getStatsType()
int getType()
int getLevel()
long getTime()
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.
void setStatistics(java.util.ArrayList dataMembers)
void setSubStats(java.util.ArrayList subCollections)
boolean add(Statistic newMember)
boolean add(Stats newMember)
void setLevel(int level)
Statistic getStatistic(int dataId)
Stats getStats(java.lang.String name)
Stats[] getSubStats()
Statistic[] listStatistics()
Stats[] listSubStats()
java.lang.String[] listStatisticNames()
void update(Stats newStats, boolean keepOld, boolean recursiveUpdate)
newStats
- the new value of the StatskeepOld
- do not remove the old data/subStats that are not in newStats when it is truerecursiveUpdate
- recursively update the sub-stats when it is truevoid resetOnClient(boolean recursive)
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toString(java.lang.String indent)
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |