|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.appserv.management.j2ee.statistics.GetterInvocationHandler
com.sun.appserv.management.j2ee.statistics.MapGetterInvocationHandler
com.sun.appserv.management.j2ee.statistics.StatsImpl
Generic implementation of Stats based on either a Map or a CompositeData.
There are two ways to implement a specific type of Stats object:
InvocationHandler.
AltJDBCConnectionPoolStatsAltServletStatsConnectionManagerStatsConnectionPoolStatsConnectorConnectionPoolStatsDNSStatsEJBCacheStatsEJBMethodStatsEJBPoolStatsFileCacheStatsHTTPListenerStatsHTTPServiceVirtualServerStatsKeepAliveStatsNativeWebCoreThreadPoolStatsNativeWebCoreVirtualServerRequestStatsThreadPoolStatsTransactionServiceStatsWebModuleVirtualServerStats
| Constructor Summary | |
StatsImpl(CompositeData compositeData)
Create a Stats from a CompositeData, whose keys are the Statistic names and whose values are CompositeData for the Statistic. |
|
StatsImpl(java.util.Map statisticsIn)
Create a Stats from a Map, whose keys are the Statistic names and whose values are the Statistics. |
|
StatsImpl(Statistic[] statistics)
|
|
| Method Summary | |
boolean |
equals(java.lang.Object rhs)
|
Statistic |
getStatistic(java.lang.String statisticName)
Get a Statistic by name. |
java.lang.String[] |
getStatisticNames()
Returns an array of Strings which are the names of the attributes from the specific Stats submodel that this object supports. |
Statistic[] |
getStatistics()
Returns an array containing all of the Statistic objects supported by this Stats object. |
java.lang.Object |
invoke(java.lang.Object myProxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
java.lang.String |
toString()
|
| Methods inherited from class com.sun.appserv.management.j2ee.statistics.MapGetterInvocationHandler |
containsValue, getMap, getValue |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StatsImpl(CompositeData compositeData)
public StatsImpl(java.util.Map statisticsIn)
public StatsImpl(Statistic[] statistics)
| Method Detail |
public Statistic getStatistic(java.lang.String statisticName)
Stats
getStatistic in interface Statspublic java.lang.String[] getStatisticNames()
Stats
getStatisticNames in interface Statspublic Statistic[] getStatistics()
Stats
getStatistics in interface Statspublic java.lang.String toString()
toString in class MapGetterInvocationHandlerpublic boolean equals(java.lang.Object rhs)
equals in class MapGetterInvocationHandler
public java.lang.Object invoke(java.lang.Object myProxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerinvoke in class GetterInvocationHandlerjava.lang.Throwable
|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.