站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

JDBCConnectionStats (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.management.j2ee.statistics
Interface JDBCConnectionStats

All Superinterfaces:
Stats
All Known Subinterfaces:
JDBCConnectionPoolStats

public interface JDBCConnectionStats
extends Stats

Specifies the statistics provided by all (pooled and non-pooled) JDBC connections.


Method Summary
 String getJdbcDataSource()
          Identifies the JDBC driver for the corresponding JDBCConnection.
 TimeStatistic getUseTime()
          Time spent using a connection.
 TimeStatistic getWaitTime()
          Time spent waiting for a connection to be available.
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getJdbcDataSource

public String getJdbcDataSource()
Identifies the JDBC driver for the corresponding JDBCConnection.


getWaitTime

public TimeStatistic getWaitTime()
Time spent waiting for a connection to be available.


getUseTime

public TimeStatistic getUseTime()
Time spent using a connection.


JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.