com.ibm.websphere.pmi.stat
Class JCAConnectionStatsImpl

java.lang.Object
  |
  +--com.ibm.websphere.pmi.stat.StatsImpl
        |
        +--com.ibm.websphere.pmi.stat.JCAConnectionStatsImpl
All Implemented Interfaces:
com.ibm.websphere.management.statistics.JCAConnectionStats, com.ibm.websphere.pmi.PmiConstants, java.io.Serializable, Stats, com.ibm.websphere.management.statistics.Stats, com.ibm.ws.pmi.wire.WpdCollection
Direct Known Subclasses:
JCAConnectionPoolStatsImpl

public class JCAConnectionStatsImpl
extends StatsImpl
implements com.ibm.websphere.management.statistics.JCAConnectionStats

Implement JSR77's JCAConnectionStats.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.websphere.pmi.stat.StatsImpl
dataMembers, instrumentationLevel, name, serialVersionUID, statsType, subCollections, time, type
 
Fields inherited from interface com.ibm.websphere.pmi.PmiConstants
AE_35, AE_40, AES_40, ALL_DATA, APPSERVER_MODULE, BEAN_METHODS_SUBMODULE, BEAN_MODULE, CACHE_MODULE, COLLECTION_DESC, CONNPOOL_MODULE, DEFAULT_MODULE_PREFIX, EJB_ENTITY, EJB_MESSAGEDRIVEN, EJB_STATEFUL, EJB_STATELESS, INITIALIZATION_FAILED, INITIALIZING, INTERCEPTOR_SUBMODULE, J2C_CF, J2C_DS, J2C_JMS_CONNECTIONS, J2C_MODULE, JAVA_TIME_CONVERT_RATIO, JVMPI_MODULE, LEVEL_DISABLE, LEVEL_ENABLE, LEVEL_HIGH, LEVEL_HIGH_STRING, LEVEL_LOW, LEVEL_LOW_STRING, LEVEL_MAX, LEVEL_MAX_STRING, LEVEL_MEDIUM, LEVEL_MEDIUM_STRING, LEVEL_NONE, LEVEL_NONE_STRING, LEVEL_UNDEFINED, LOAD_AVG, LOST_CONTACT, METHODS_SUBMODULE_SHORTNAME, MSG_BUNDLE, NOT_IN_SUBMODULE, ORBPERF_MODULE, PMI_DISABLE_STRING, ROOT_DESC, ROOT_NAME, RUNNING, RUNTIME_MODULE, SERVLET_SUBMODULE, SERVLETS_SUBMODULE_SHORTNAME, SESSIONS_MODULE, STOPPED, SYSTEM_MODULE, TEMPLATE_SUBMODULE, TERMINATING, THREADPOOL_MODULE, TRAN_MODULE, TYPE_CATEGORY, TYPE_COLLECTION, TYPE_DATA, TYPE_DOUBLE, TYPE_INSTANCE, TYPE_INT, TYPE_INVALID, TYPE_LOAD, TYPE_LONG, TYPE_MODULE, TYPE_MODULEROOT, TYPE_NODE, TYPE_ROOT, TYPE_SERVER, TYPE_STAT, TYPE_SUBINSTANCE, TYPE_SUBMODULE, TYPE_UNDEFINED, UNINITIALIZED, UNKNOWN_ID, WEBAPP_MODULE, WEBSERVICES_MODULE, WEBSERVICES_SUBMODULE, WLM_CLIENT_MODULE, WLM_MODULE, WLM_SERVER_MODULE, WSGW_MODULE, XML_COLLECTION, XML_COUNT, XML_CREATETIME, XML_DOUBLE, XML_ENDCOLLECTION, XML_ENDLINE, XML_ENDMODULE, XML_ENDNODE, XML_ENDSERVER, XML_ENDTAG, XML_ID, XML_INT, XML_INTEGRAL, XML_LASTVALUE, XML_LOAD, XML_LONG, XML_MODULE, XML_NAME, XML_NODE, XML_QUOTE, XML_SERVER, XML_START, XML_STAT, XML_SUMOFSQUARES, XML_TIME, XML_TOTAL, XML_VALUE, XML_VIEW
 
Constructor Summary
JCAConnectionStatsImpl(java.lang.String name, int type, int level, java.util.ArrayList dataMembers, java.util.ArrayList subCollections)
           
 
Method Summary
 javax.management.ObjectName getConnectionFactory()
           
 javax.management.ObjectName getManagedConnectionFactory()
          There is no MCF in Auqila release.
 com.ibm.websphere.management.statistics.TimeStatistic getUseTime()
           
 com.ibm.websphere.management.statistics.TimeStatistic getWaitTime()
          This is actually not supported for non-pooled connection.
 void setConnectionFactory(javax.management.ObjectName cfName)
           
 void setManagedConnectionFactory(javax.management.ObjectName mcfName)
           
 
Methods inherited from class com.ibm.websphere.pmi.stat.StatsImpl
add, add, add, add, dataMembers, getData, getLevel, getName, getStatistic, getStatistic, getStatisticNames, getStatistics, getStats, getStatsType, getSubcollection, getSubStats, getTime, getType, listStatisticNames, listStatistics, listSubStats, remove, remove, resetOnClient, setConfig, setDataMembers, setLevel, setName, setStatistics, setStatsType, setSubcollections, setSubStats, subCollections, toString, toString, toXML, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.websphere.management.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Constructor Detail

JCAConnectionStatsImpl

public JCAConnectionStatsImpl(java.lang.String name,
                              int type,
                              int level,
                              java.util.ArrayList dataMembers,
                              java.util.ArrayList subCollections)
Method Detail

setManagedConnectionFactory

public void setManagedConnectionFactory(javax.management.ObjectName mcfName)

setConnectionFactory

public void setConnectionFactory(javax.management.ObjectName cfName)

getWaitTime

public com.ibm.websphere.management.statistics.TimeStatistic getWaitTime()
This is actually not supported for non-pooled connection.

Specified by:
getWaitTime in interface com.ibm.websphere.management.statistics.JCAConnectionStats

getUseTime

public com.ibm.websphere.management.statistics.TimeStatistic getUseTime()
Specified by:
getUseTime in interface com.ibm.websphere.management.statistics.JCAConnectionStats

getConnectionFactory

public javax.management.ObjectName getConnectionFactory()
Specified by:
getConnectionFactory in interface com.ibm.websphere.management.statistics.JCAConnectionStats

getManagedConnectionFactory

public javax.management.ObjectName getManagedConnectionFactory()
There is no MCF in Auqila release. Therefore, it always returns null.

Specified by:
getManagedConnectionFactory in interface com.ibm.websphere.management.statistics.JCAConnectionStats


 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.