|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CpdCollection
is a 4.0 interface and will be supported in 5.0.
It is the interface for PMI module/submodule on client side.
It organizes performance data in a
hierarchical structure. Each member of the hierarchy is an instance of the CpdCollection
interface that contains a number of data members and a number of sub-CpdCollections.
Field Summary | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.ibm.websphere.pmi.client.CpdXML |
---|
INDENT_SPACE |
Method Summary | |
---|---|
void |
addAMember(CpdData member)
|
void |
addSubcollection(CpdCollection col)
add a subcollection to it. |
CpdData[] |
dataMembers()
Return all the CpdData in the CpdCollection - not include data in subcollections. |
CpdData |
getData(int index)
Return a CpdData by index. |
java.lang.String |
getDescription()
Return a description for this CpdCollection. |
PerfDescriptor |
getDescriptor()
Each CpdCollection has a unique PerfDescriptor, which is used to identify the collection in an app server. |
int |
getLevel()
get current instrumentation level for this collection. |
CpdCollection |
getParent()
get its parent CpdColleciton. |
CpdCollection |
getSubcollection(int i)
get a subcollection by index. |
CpdCollection |
getSubcollection(java.lang.String name)
get a subCollection by the collection name |
int |
numDataMembers()
Return the number of data in this CpdCollection - not include data in subcollections. |
int |
numSubcollections()
Return the number of subcollections. |
void |
reset()
Reset all the data to zero at the client side. |
void |
setParent(CpdCollection setParent)
Setparent. |
CpdCollection[] |
subcollections()
Return all the subcollections. |
java.lang.String |
toString(java.lang.String indent)
Return all the data in this CpdCollection in a readable String format. |
void |
update(CpdCollection other)
Update the current CpdCollection using other. |
void |
update(CpdCollection other,
boolean keepOld)
Similar to update(CpdCollection), but take one more parameter to indicate if the old data/subcollection will be removed if it is not in the new collection. |
void |
update(CpdCollection other,
boolean keepOld,
boolean recursiveUpdate)
Similar to update(CpdCollection, boolean keepOld), but take one more parameter to indicate if the update is recursive or not. |
Methods inherited from interface com.ibm.websphere.pmi.client.CpdXML |
---|
fromXML, toXML, toXML, toXML |
Methods inherited from interface com.ibm.websphere.pmi.client.event.CpdEventSender |
---|
addCpdEventListener, notifyListeners, notifyListeners, removeCpdEventListener |
Field Detail |
public static final long serialVersionUID
Method Detail |
public PerfDescriptor getDescriptor()
public java.lang.String getDescription()
public int numDataMembers()
public CpdData[] dataMembers()
public CpdData getData(int index)
public int numSubcollections()
public CpdCollection[] subcollections()
public CpdCollection getSubcollection(int i)
public CpdCollection getSubcollection(java.lang.String name)
public CpdCollection getParent()
public void setParent(CpdCollection setParent)
public void addSubcollection(CpdCollection col)
public void update(CpdCollection other)
public void update(CpdCollection other, boolean keepOld)
public void update(CpdCollection other, boolean keepOld, boolean recursiveUpdate)
public void reset()
public java.lang.String toString(java.lang.String indent)
public int getLevel()
public void addAMember(CpdData member)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |