javax.management.j2ee.statistics
Interface JDBCConnectionStats

All Superinterfaces:
Stats
All Known Subinterfaces:
JDBCConnectionPoolStats

public interface JDBCConnectionStats
extends Stats

Specifies the statistics provided by a JDBC connection.

Version:
$Revision: 1.1 $
Author:
Laurent Etiemble

Method Summary
 javax.management.ObjectName getJdbcDataSource()
          Returns the name of the managed object that identifies the JDBC data source for this connection.
 TimeStatistic getUseTime()
          Returns the time spent using a connection.
 TimeStatistic getWaitTime()
          Returns the 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 javax.management.ObjectName getJdbcDataSource()
Returns the name of the managed object that identifies the JDBC data source for this connection.

Returns:
The jdbc data source

getWaitTime

public TimeStatistic getWaitTime()
Returns the time spent waiting for a connection to be available.

Returns:
The wait time

getUseTime

public TimeStatistic getUseTime()
Returns the time spent using a connection.

Returns:
The use time


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.