com.ibm.websphere.pmi.stat

Interface Stats

All Superinterfaces:
Stats

Deprecated. As of 6.0, replaced with WSStats
  1. public interface Stats
  2. extends 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

Modifier and Type Field and Description
  1. static
  2. java.lang.String
UNIT_KB
Deprecated.

Method Summary

Modifier and Type Method and Description
  1. boolean
add(Statistic newMember)
Deprecated. add a Statistic data - usually only called on server side
  1. boolean
add(Stats newMember)
Deprecated. add a Stats - usually only called on server side
  1. int
getLevel()
Deprecated. get the instrumentation level
  1. java.lang.String
getName()
Deprecated.
  1. Statistic
getStatistic(int dataId)
Deprecated. get Statistic by data ID
  1. Stats
getStats(java.lang.String name)
Deprecated.
  1. java.lang.String
getStatsType()
Deprecated.
  1. Stats[]
getSubStats()
Deprecated.
  1. long
getTime()
Deprecated. Set query time - the time when the client request comes to server
  1. int
getType()
Deprecated.
  1. java.lang.String[]
listStatisticNames()
Deprecated. same as getStatisticNames method
  1. Statistic[]
listStatistics()
Deprecated. same as getStatistics method
  1. Stats[]
listSubStats()
Deprecated. same as getSubStats method
  1. void
resetOnClient(boolean recursive)
Deprecated. Reset on client only
  1. void
setConfig(PmiModuleConfig config)
Deprecated. Call this method to set the static config info.
  1. void
setLevel(int level)
Deprecated. set level if level is not passed via constructor
  1. void
setStatistics(java.util.ArrayList dataMembers)
Deprecated. set Statistic data - usually only called on server side
  1. void
setSubStats(java.util.ArrayList subCollections)
Deprecated. set sub-Stats - usually only called on server side
  1. java.lang.String
toString()
Deprecated.
  1. java.lang.String
toString(java.lang.String indent)
Deprecated.
  1. 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

UNIT_KB

  1. static final java.lang.String UNIT_KB
Deprecated.
See Also:

Method Detail

getName

  1. java.lang.String getName()
Deprecated.
Returns:
name of the Stats

getStatsType

  1. java.lang.String getStatsType()
Deprecated.
Returns:
Stats type. This type is used to bind the static information to the Stats

getType

  1. int getType()
Deprecated.
Returns:
collection type. This type identifies the stats collection level in the PMI hierarcy.

getLevel

  1. int getLevel()
Deprecated.
get the instrumentation level

getTime

  1. long getTime()
Deprecated.
Set query time - the time when the client request comes to server

setConfig

  1. void setConfig(PmiModuleConfig config)
Deprecated.
Call this method to set the static config info.

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

  1. void setStatistics(java.util.ArrayList dataMembers)
Deprecated.
set Statistic data - usually only called on server side

setSubStats

  1. void setSubStats(java.util.ArrayList subCollections)
Deprecated.
set sub-Stats - usually only called on server side

add

  1. boolean add(Statistic newMember)
Deprecated.
add a Statistic data - usually only called on server side

add

  1. boolean add(Stats newMember)
Deprecated.
add a Stats - usually only called on server side

setLevel

  1. void setLevel(int level)
Deprecated.
set level if level is not passed via constructor

getStatistic

  1. Statistic getStatistic(int dataId)
Deprecated.
get Statistic by data ID

getStats

  1. Stats getStats(java.lang.String name)
Deprecated.
Returns:
the sub-stat by the name

getSubStats

  1. Stats[] getSubStats()
Deprecated.
Returns:
all the sub-stats in it.

listStatistics

  1. Statistic[] listStatistics()
Deprecated.
same as getStatistics method

listSubStats

  1. Stats[] listSubStats()
Deprecated.
same as getSubStats method

listStatisticNames

  1. java.lang.String[] listStatisticNames( )
Deprecated.
same as getStatisticNames method

update

  1. void update(Stats newStats,
  2. boolean keepOld,
  3. boolean recursiveUpdate)
Deprecated.
Update the Stats object
Parameters:
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

  1. void resetOnClient(boolean recursive)
Deprecated.
Reset on client only

toString

  1. java.lang.String toString()
Deprecated.
Overrides:
toString in class java.lang.Object

toString

  1. java.lang.String toString(java.lang.String indent)
Deprecated.