javax.management.j2ee.statistics
Interface JDBCConnectionPoolStats

All Superinterfaces:
JDBCConnectionStats, Stats

public interface JDBCConnectionPoolStats
extends JDBCConnectionStats

Specifies the statistics provided by a JDBC connection pool.

Version:
$Revision: 1.1 $
Author:
Laurent Etiemble

Method Summary
 CountStatistic getCloseCount()
          Returns the number of connections closed.
 CountStatistic getCreateCount()
          Returns the number of connections created.
 BoundedRangeStatistic getFreePoolSize()
          Returns the number of free connections in the pool.
 BoundedRangeStatistic getPoolSize()
          Returns the size of the connection pool.
 RangeStatistic getWaitingThreadCount()
          Returns the number of threads waiting for a connection.
 
Methods inherited from interface javax.management.j2ee.statistics.JDBCConnectionStats
getJdbcDataSource, getUseTime, getWaitTime
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getCreateCount

public CountStatistic getCreateCount()
Returns the number of connections created.

Returns:
The create count

getCloseCount

public CountStatistic getCloseCount()
Returns the number of connections closed.

Returns:
The close count

getPoolSize

public BoundedRangeStatistic getPoolSize()
Returns the size of the connection pool.

Returns:
The pool size

getFreePoolSize

public BoundedRangeStatistic getFreePoolSize()
Returns the number of free connections in the pool.

Returns:
The free pool size

getWaitingThreadCount

public RangeStatistic getWaitingThreadCount()
Returns the number of threads waiting for a connection.

Returns:
The waiting thread count


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