org.logicalcobwebs.proxool
Interface ConnectionPoolStatisticsIF
public interface ConnectionPoolStatisticsIF
This provides real time information about the pool. You can get this from
ProxoolFacade
.
String alias = "myPool";
ConnectionPoolStatisticsIF cps = ProxoolFacade.getConnectionPoolStatistics(alias);
$Revision: 1.6 $, $Date: 2005/10/02 12:32:02 $- billhorsman
- $Author: billhorsman $ (current maintainer)
getActiveConnectionCount
public int getActiveConnectionCount()
The number of connections currently in use.
getAvailableConnectionCount
public int getAvailableConnectionCount()
The number of connections that are available for use (doesn't include
active connections).
getConnectionCount
public long getConnectionCount()
getConnectionsRefusedCount
public long getConnectionsRefusedCount()
The number of connections refused. Either because there was a problem
connecting to the database, or perhaps because the maximumConnectionCount
was reached.
getConnectionsServedCount
public long getConnectionsServedCount()
The number of connections provided.
getDateStarted
public Date getDateStarted()
When this pool was started
getOfflineConnectionCount
public int getOfflineConnectionCount()
The number of connections that are neither active or available. Probably
because the house keeping thread is checking them.