com.ibm.websphere.pmi
Class PmiModuleConfig
- java.lang.Object
com.ibm.websphere.pmi.PmiModuleConfig
All implemented interfaces:
PmiConstants, java.io.Serializable
- public class PmiModuleConfig
- extends java.lang.Object
- implements java.io.Serializable, PmiConstants
See Also:
Field Summary
Constructor Summary
Constructor and Description |
---|
PmiModuleConfig(java.lang.String UID)
PMI data are organized in modules (Stats).
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
addData(PmiDataInfo info)
Add PmiDataInfo for a statistic (WebSphere internal use only)
|
copy()
Creates a copy of this object
|
|
|
getDataId(java.lang.String name)
Returns the data ID for a Statistic name in this module (Stats)
|
getDataInfo(int dataId)
Returns the PmiDataInfo for a data ID in this module (Stats)
|
|
|
getDescription()
Returns the description
|
|
getMbeanType()
Returns the mapping MBean type.
|
|
getNumData()
Returns the number of statistics in this module
|
|
getResourceBundle()
Returns the resource bundle name.
|
|
getShortName()
Returns the Stats name - eg, beanModule (WebSphere internal use only)
|
|
getUID()
Returns the UID of this module (Stats).
|
|
hasSubModule()
Returns true if there is a sub-module defined (applicable only to 5.x)
|
listAllData()
Returns the PmiDataInfo for all the statistics in the module.
|
|
listData(java.lang.String submoduleName)
Returns the submodule members.
|
|
listLevelData(int level)
Returns the statistic with level equal to or lower than 'level'
|
|
listMyLevelData(int level)
Returns the statistic with level equal to 'level'
|
|
|
listStatisticsBySet(java.lang.String statisticSet)
Return the list of statistic IDs that are in the given pre-defined statistic sets.
|
|
listStatisticsWithDependents()
Returns String representation of this object
|
|
print(java.io.PrintWriter pw)
Deprecated. No replacement
|
|
removeData(PmiDataInfo info)
Remove PmiDataInfo for a statistic (WebSphere internal use only)
|
|
setDescription(java.lang.String description)
Sets the module description (WebSphere internal use only).
|
|
setMbeanType(java.lang.String mbeanType)
Sets the mapping MBean type (WebSphere internal use only).
|
|
setResourceBundle(java.lang.String nlsFile)
Sets the resource bundle to translate the Stats name, decription, and unit (WebSphere internal use only).
|
submoduleMembers(java.lang.String submoduleName)
Returns all the PmiDataInfo in the submodule.
|
|
submoduleMembers(java.lang.String submoduleName,int level)
Returns an array of PmiDataInfo for the given submoduleName and level.
|
|
|
toString()
Returns String representation of this object
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
PmiModuleConfig
- public PmiModuleConfig(java.lang.String UID)
PMI data are organized in modules (Stats). Each module has a unique UID.
This class contains all the PmiDataInfo (Statistics) for the module.
Method Detail
setDescription
- public void setDescription(java.lang.String description)
Sets the module description (WebSphere internal use only).
setMbeanType
- public void setMbeanType(java.lang.String mbeanType)
Sets the mapping MBean type (WebSphere internal use only).
setResourceBundle
- public void setResourceBundle(java.lang.String nlsFile)
Sets the resource bundle to translate the Stats name, decription, and unit (WebSphere internal use only).
addData
- public void addData(PmiDataInfo info)
Add PmiDataInfo for a statistic (WebSphere internal use only)
removeData
- public void removeData(PmiDataInfo info)
Remove PmiDataInfo for a statistic (WebSphere internal use only)
getResourceBundle
- public java.lang.String getResourceBundle( )
Returns the resource bundle name.
getNumData
- public int getNumData()
Returns the number of statistics in this module
getUID
- public java.lang.String getUID( )
Returns the UID of this module (Stats).
getShortName
- public java.lang.String getShortName( )
Returns the Stats name - eg, beanModule (WebSphere internal use only)
getDescription
- public java.lang.String getDescription( )
Returns the description
getMbeanType
- public java.lang.String getMbeanType( )
Returns the mapping MBean type.
getDataId
- public int getDataId(java.lang.String name)
Returns the data ID for a Statistic name in this module (Stats)
getDataInfo
- public PmiDataInfo getDataInfo( int dataId)
Returns the PmiDataInfo for a data ID in this module (Stats)
submoduleMembers
- public PmiDataInfo[] submoduleMembers( java.lang.String submoduleName)
Returns all the PmiDataInfo in the submodule.
If submoduleName is null, return all the PmiDataInfo in the module.
submoduleMembers
- public PmiDataInfo[] submoduleMembers( java.lang.String submoduleName,
- int level)
Returns an array of PmiDataInfo for the given submoduleName and level.
listData
- public PmiDataInfo[] listData(java.lang.String submoduleName)
Returns the submodule members.
listAllData
- public PmiDataInfo[] listAllData( )
Returns the PmiDataInfo for all the statistics in the module.
listLevelData
- public PmiDataInfo[] listLevelData( int level)
Returns the statistic with level equal to or lower than 'level'
listMyLevelData
- public PmiDataInfo[] listMyLevelData( int level)
Returns the statistic with level equal to 'level'
- public void print(java.io.PrintWriter pw)
Deprecated. No replacement
toString
- public java.lang.String toString( )
Returns String representation of this object
Overrides:
toString
in class java.lang.Object
listStatisticsWithDependents
- public int[] listStatisticsWithDependents( )
Returns String representation of this object
listStatisticsBySet
- public int[] listStatisticsBySet( java.lang.String statisticSet)
Return the list of statistic IDs that are in the given pre-defined statistic sets.
Statistic sets are defined in
StatConstants
hasSubModule
- public boolean hasSubModule()
Returns true if there is a sub-module defined (applicable only to 5.x)
copy
- public PmiModuleConfig copy()
Creates a copy of this object
Returns:
copy of this object