javax.management.j2ee.statistics
package.
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.
public interface CpdCollection extends java.io.Serializable, CpdXML, CpdEventSender
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID
Deprecated.
|
INDENT_SPACE
Modifier and Type | Method and Description |
---|---|
void |
addAMember(CpdData member)
Deprecated.
|
void |
addSubcollection(CpdCollection col)
Deprecated.
add a subcollection to it.
|
CpdData[] |
dataMembers()
Deprecated.
Return all the CpdData in the CpdCollection - not include data in subcollections.
|
CpdData |
getData(int index)
Deprecated.
Return a CpdData by index.
|
java.lang.String |
getDescription()
Deprecated.
Return a description for this CpdCollection.
|
PerfDescriptor |
getDescriptor()
Deprecated.
Each CpdCollection has a unique PerfDescriptor, which is used to identify the collection
in an app server.
|
int |
getLevel()
Deprecated.
get current instrumentation level for this collection.
|
CpdCollection |
getParent()
Deprecated.
get its parent CpdColleciton.
|
CpdCollection |
getSubcollection(int i)
Deprecated.
get a subcollection by index.
|
CpdCollection |
getSubcollection(java.lang.String name)
Deprecated.
get a subCollection by the collection name
|
int |
numDataMembers()
Deprecated.
Return the number of data in this CpdCollection - not include data in subcollections.
|
int |
numSubcollections()
Deprecated.
Return the number of subcollections.
|
void |
reset()
Deprecated.
Reset all the data to zero at the client side.
|
void |
setParent(CpdCollection setParent)
Deprecated.
Setparent.
|
CpdCollection[] |
subcollections()
Deprecated.
Return all the subcollections.
|
java.lang.String |
toString(java.lang.String indent)
Deprecated.
Return all the data in this CpdCollection in a readable String format.
|
void |
update(CpdCollection other)
Deprecated.
Update the current CpdCollection using other.
|
void |
update(CpdCollection other,
boolean keepOld)
Deprecated.
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)
Deprecated.
Similar to update(CpdCollection, boolean keepOld), but take one more parameter to
indicate if the update is recursive or not.
|
addCpdEventListener, notifyListeners, notifyListeners, removeCpdEventListener
static final long serialVersionUID
PerfDescriptor getDescriptor()
java.lang.String getDescription()
int numDataMembers()
CpdData[] dataMembers()
CpdData getData(int index)
int numSubcollections()
CpdCollection[] subcollections()
CpdCollection getSubcollection(int i)
CpdCollection getSubcollection(java.lang.String name)
CpdCollection getParent()
void setParent(CpdCollection setParent)
void addSubcollection(CpdCollection col)
void update(CpdCollection other)
void update(CpdCollection other, boolean keepOld)
void update(CpdCollection other, boolean keepOld, boolean recursiveUpdate)
void reset()
java.lang.String toString(java.lang.String indent)
int getLevel()
void addAMember(CpdData member)