|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.pmi.stat.StatDescriptor
public class StatDescriptor
This class is used to identify a Stats object in the WebSphere PMI.
Typically, the JMX ObjectName is used to locate a managed object in the J2EE domain. The ObjectName
can be used get statistics about the managed object.
When a JMX ObjectName is not available StatDescriptor can be used to locate the Stats.
WebSphere Performance Monitoring Infrastructure (PMI) maintains the Stats from various components in a tree structure.
Following is a sample Stats tree:
server1
|__ WSJVMStats
|__ WSThreadPoolStats
|__ WSEJBStats
|__ WSWebAppStats
|__ <MyApplication.war>
|__ WSServletStats
|__ <Servlet_1>
StatDescriptor is used to locate and access particular Stats in the PMI tree.
For instance, StatDescriptor that represents Servlet_1 Stats can be constructed as follows:
new StatDescriptor (new String[] {WSWebAppStats.NAME, "MyApplication.war", WSServletStats.NAME, "Servlet_1"});
Constructor Summary | |
---|---|
StatDescriptor(java.lang.String[] path)
Constructor |
|
StatDescriptor(java.lang.String[] path,
int dataId)
Deprecated. No replacement |
Method Summary | |
---|---|
int |
getDataId()
Deprecated. No replacement |
java.lang.String |
getName()
Deprecated. No replacement |
java.lang.String[] |
getPath()
Returns Stats path represented by this StatDescriptor |
int |
getType()
Deprecated. No replacement |
boolean |
isSame(StatDescriptor sd)
Deprecated. No replacement |
java.lang.String |
toString()
Returns String representation of StatDescriptor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StatDescriptor(java.lang.String[] path)
path
- Path of the Stats in the PMI tree. A null indicates the root of PMI tree (server).public StatDescriptor(java.lang.String[] path, int dataId)
Method Detail |
---|
public java.lang.String[] getPath()
public java.lang.String getName()
public int getDataId()
public int getType()
public boolean isSame(StatDescriptor sd)
public java.lang.String toString()
toString
in class java.lang.Object
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |