|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Stats interface and its subinterfaces specify performance data accessors for each of the specific managed object types.
The data required by the interfaces is commonly available on all platform implementations. Managed objects that support statistics are permitted to provide support for a subset of the accessors in the Stats interfaces. Managed objects indicate which of the specified accessors return valid data by including only the names of the supported statistics in the statisticNames list. The data provided by a supported statistic must be exactly as specified by the corresponding Stats interface. The Stats interfaces may be extended to provide vendor specific performance statistics. Vendor specific perfomance statistics must implement or extend one of the standard Statistics interfaces.
Method Summary | |
Statistic |
getStatistic(java.lang.String statisticName)
Gets a Statistic by name. |
java.lang.String[] |
getStatisticNames()
Returns a list of the names of the attributes from the specific Stats interface that this object supports. |
Statistic[] |
getStatistics()
Returns a list of all the Statistic objects supported by this Stats object. |
Method Detail |
public Statistic getStatistic(java.lang.String statisticName)
statisticName
- The statistic name
public java.lang.String[] getStatisticNames()
The value of attributes whose names are not included in the StatisticNames list is undefined and must be considered invalid. For each attribute name in the StatisticNames list that returns a Statistic there must be one Statistic object with the same name in the statistics list.
public Statistic[] getStatistics()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |