com.ibm.websphere.pmi
Class PmiDataInfo
- java.lang.Object
com.ibm.websphere.pmi.PmiDataInfo
All implemented interfaces:
PmiConstants, java.io.Serializable
- public class PmiDataInfo
- extends java.lang.Object
- implements java.io.Serializable, PmiConstants
See Also:
Field Summary
Constructor Summary
Constructor and Description |
---|
PmiDataInfo(int id)
Constructor
|
PmiDataInfo(int id,java.lang.String name,int type,int level,java.lang.String description)
Constructor
|
PmiDataInfo(int id,java.lang.String name,java.lang.String unit,java.lang.String description,int type,int level,boolean resettable)
Constructor
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
addDependency(int id)
(WebSphere internal use only)
|
copy()
Creates a copy of this object
|
|
|
getCategory()
Return the applicable category of this statistic.
|
|
getComment()
Returns the comment string for this statistic
|
|
getDependency()
Returns the list of statistics that this statistic depends on
|
|
getDescription()
Returns the description
|
|
getId()
Returns the statistic ID
|
|
getLevel()
Returns the statistic instrumentaion level (List of levels defined in PmiConstants)
|
|
getName()
Returns the name of the statsitic
|
|
getParticipation()
Deprecated. No replacement
|
|
getPlatform()
Returns the platform in which this statistic is supported (List of platforms defined in PmiConstants)
|
|
getStatisticSet()
Returns the statistic set that this statistic belongs to (Statistic sets defined in com.ibm.websphere.pmi.stat.StatConstants)
|
|
getSubmoduleName()
Returns the PMI sub-module name to which this statistic belongs to.
|
|
getType()
Returns the statistic type (defined in PmiConstants)
|
|
getUnit()
Return the statistic unit
|
|
isAggregatable()
Return true if this statistic can be aggregated by the parent
|
|
isAvailableInPlatform(java.lang.String p)
Return true if this statistic is available in the given platform
|
|
isResettable()
Return true if it can be reset to zero in client side.
|
|
isUpdateOnRequest()
Return true if this statistic is updated only on request
|
|
isZosAggregatable()
Return true if the value of statistic from zos servant regions is aggregatable
|
|
setAggregatable(boolean aggregatable)
(WebSphere internal use only)
|
|
setCategory(java.lang.String category)
(WebSphere internal use only)
|
|
setComment(java.lang.String comment)
(WebSphere internal use only)
|
|
setDescription(java.lang.String description)
(WebSphere internal use only)
|
|
setLevel(int level)
(WebSphere internal use only)
|
|
setName(java.lang.String name)
(WebSphere internal use only)
|
|
setOnRequest(boolean onRequest)
(WebSphere internal use only)
|
|
setParticipation(java.lang.String participation)
(WebSphere internal use only)
|
|
setPlatform(java.lang.String platform)
(WebSphere internal use only)
|
|
setResettable(boolean resettable)
(WebSphere internal use only)
|
|
setStatisticSet(java.lang.String statSet)
(WebSphere internal use only)
|
|
setSubmoduleName(java.lang.String submoduleName)
(WebSphere internal use only)
|
|
setType(int type)
(WebSphere internal use only)
|
|
setUnit(java.lang.String unit)
(WebSphere internal use only)
|
|
setZosAggregatable(boolean zosAggregatable)
(WebSphere internal use only)
|
|
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
PmiDataInfo
- public PmiDataInfo(int id)
Constructor
Parameters:
id
- Uniquely identifies a statistic in a Stats object PmiDataInfo
- public PmiDataInfo(int id,
- java.lang.String name,
- int type,
- int level,
- java.lang.String description)
Constructor
Parameters:
id
- Uniquely identifies a statistic in a Stats objecy name
- Name of the statistic type
- Type of the statistic (defined in PmiConstants) level
- Instrumentation level (defined in PmiConstants) description
- Desription of the statistic PmiDataInfo
- public PmiDataInfo(int id,
- java.lang.String name,
- java.lang.String unit,
- java.lang.String description,
- int type,
- int level,
- boolean resettable)
Constructor
Parameters:
id
- Uniquely identifies a statistic in a Stats objecy name
- Name of the statistic unit
- Unit of the statistic type
- Type of the statistic (defined in PmiConstants) level
- Instrumentation level (defined in PmiConstants) description
- Desription of the statistic resettable
- Indicates if this statistic can be reset to zero in client side Method Detail
setName
- public void setName(java.lang.String name)
(WebSphere internal use only)
setType
- public void setType(int type)
(WebSphere internal use only)
setParticipation
- public void setParticipation(java.lang.String participation)
(WebSphere internal use only)
setDescription
- public void setDescription(java.lang.String description)
(WebSphere internal use only)
setUnit
- public void setUnit(java.lang.String unit)
(WebSphere internal use only)
setCategory
- public void setCategory(java.lang.String category)
(WebSphere internal use only)
setLevel
- public void setLevel(int level)
(WebSphere internal use only)
setStatisticSet
- public void setStatisticSet(java.lang.String statSet)
(WebSphere internal use only)
setPlatform
- public void setPlatform(java.lang.String platform)
(WebSphere internal use only)
setComment
- public void setComment(java.lang.String comment)
(WebSphere internal use only)
setResettable
- public void setResettable(boolean resettable)
(WebSphere internal use only)
setAggregatable
- public void setAggregatable(boolean aggregatable)
(WebSphere internal use only)
setZosAggregatable
- public void setZosAggregatable( boolean zosAggregatable)
(WebSphere internal use only)
setOnRequest
- public void setOnRequest(boolean onRequest)
(WebSphere internal use only)
setSubmoduleName
- public void setSubmoduleName(java.lang.String submoduleName)
(WebSphere internal use only)
addDependency
- public void addDependency(int id)
(WebSphere internal use only)
getDependency
- public java.util.ArrayList getDependency( )
Returns the list of statistics that this statistic depends on
getName
- public java.lang.String getName( )
Returns the name of the statsitic
getId
- public int getId()
Returns the statistic ID
getType
- public int getType()
Returns the statistic type (defined in PmiConstants)
getDescription
- public java.lang.String getDescription( )
Returns the description
getUnit
- public java.lang.String getUnit( )
Return the statistic unit
getCategory
- public java.lang.String getCategory( )
Return the applicable category of this statistic. For example, an EJB counter could be only applicable to entity bean.
getParticipation
- public java.lang.String getParticipation( )
Deprecated. No replacement
getLevel
- public int getLevel()
Returns the statistic instrumentaion level (List of levels defined in PmiConstants)
getStatisticSet
- public java.lang.String getStatisticSet( )
Returns the statistic set that this statistic belongs to (Statistic sets defined in com.ibm.websphere.pmi.stat.StatConstants)
getPlatform
- public java.lang.String getPlatform( )
Returns the platform in which this statistic is supported (List of platforms defined in PmiConstants)
getComment
- public java.lang.String getComment( )
Returns the comment string for this statistic
isResettable
- public boolean isResettable()
Return true if it can be reset to zero in client side.
isAggregatable
- public boolean isAggregatable()
Return true if this statistic can be aggregated by the parent
isZosAggregatable
- public boolean isZosAggregatable( )
Return true if the value of statistic from zos servant regions is aggregatable
isAvailableInPlatform
- public boolean isAvailableInPlatform( java.lang.String p)
Return true if this statistic is available in the given platform
Parameters:
p
- - platform string defined in PmiConstants isUpdateOnRequest
- public boolean isUpdateOnRequest( )
Return true if this statistic is updated only on request
getSubmoduleName
- public java.lang.String getSubmoduleName( )
Returns the PMI sub-module name to which this statistic belongs to.
toString
- public java.lang.String toString( )
Returns String representation of this object
Overrides:
toString
in class java.lang.Object
copy
- public PmiDataInfo copy()
Creates a copy of this object
Returns:
a copy of this object