com.ibm.websphere.pmi.stat
Class JDBCConnectionStatsImpl

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

public class JDBCConnectionStatsImpl
extends StatsImpl
implements com.ibm.websphere.management.statistics.JDBCConnectionStats

Implement JSR77's JDBCConnectionStats.

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
JDBCConnectionStatsImpl(java.lang.String name, int type, int level, java.util.ArrayList dataMembers, java.util.ArrayList subCollections)
           
 
Method Summary
 javax.management.ObjectName getJdbcDataSource()
           
 com.ibm.websphere.management.statistics.TimeStatistic getUseTime()
           
 com.ibm.websphere.management.statistics.TimeStatistic getWaitTime()
          This is actually not supported for non-pooled connection.
 void setJdbcDataSource(javax.management.ObjectName dsOName)
           
 
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

JDBCConnectionStatsImpl

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

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.JDBCConnectionStats

getUseTime

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

getJdbcDataSource

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

setJdbcDataSource

public void setJdbcDataSource(javax.management.ObjectName dsOName)


 

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.