org.logicalcobwebs.proxool.admin
Interface SnapshotIF
public interface SnapshotIF
Provides a snapshot of a pool
$Revision: 1.3 $, $Date: 2005/10/02 12:32:01 $- bill
- $Author: billhorsman $ (current maintainer)
getActiveConnectionCount
public int getActiveConnectionCount()
The number of active (busy) connections
getAvailableConnectionCount
public int getAvailableConnectionCount()
The number of available (free) connections
getConnectionCount
public long getConnectionCount()
getConnectionInfo
public ConnectionInfoIF getConnectionInfo(long id)
The details of one connection. Will be null if this is not a
detailed snapshot or if this ID is not found.
getConnectionInfos
public ConnectionInfoIF[] getConnectionInfos()
The details of each connection. Will be null if this is not a
detailed snapshot.
getDateStarted
public Date getDateStarted()
When the pool was started
getMaximumConnectionCount
public int getMaximumConnectionCount()
Get the maximum possible connections (as defined in the
definition
.
getOfflineConnectionCount
public int getOfflineConnectionCount()
The number of offline connections. A connection is offline
if it is being tested by the house keeper.
getRefusedCount
public long getRefusedCount()
How many connections have been refused since the pool started
getServedCount
public long getServedCount()
How many connections have been served since the pool started
getSnapshotDate
public Date getSnapshotDate()
The date that this snapshot applies
isDetail
public boolean isDetail()
Whether we have requested detailed information about each
connection