javax.management.j2ee.statistics
Interface JDBCConnectionPoolStats

All Superinterfaces:
JDBCConnectionStats, Stats

public interface JDBCConnectionPoolStats
extends JDBCConnectionStats

Specifies the statistics provided by a JDBC connection pool.

Author:
Guillaume Sauthier

Method Summary
 CountStatistic getCloseCount()
           
 CountStatistic getCreateCount()
           
 BoundedRangeStatistic getFreePoolSize()
           
 BoundedRangeStatistic getPoolSize()
           
 RangeStatistic getWaitingThreadCount()
           
 
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

CountStatistic getCreateCount()
Returns:
Number of connections created.

getCloseCount

CountStatistic getCloseCount()
Returns:
Number of connections closed.

getPoolSize

BoundedRangeStatistic getPoolSize()
Returns:
Size of the connection pool.

getFreePoolSize

BoundedRangeStatistic getFreePoolSize()
Returns:
Number of free connections in the pool.

getWaitingThreadCount

RangeStatistic getWaitingThreadCount()
Returns:
Number of threads waiting for a connection.


Copyright © 2007 OW2 Consortium. All Rights Reserved.