|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a snapshot of a pool
Method Summary | |
int |
getActiveConnectionCount()
The number of active (busy) connections |
int |
getAvailableConnectionCount()
The number of available (free) connections |
ConnectionInfoIF |
getConnectionInfo(long id)
The details of one connection. |
ConnectionInfoIF[] |
getConnectionInfos()
The details of each connection. |
java.util.Date |
getDateStarted()
When the pool was started |
int |
getMaximumConnectionCount()
Get the maximum possible connections (as defined in the definition . |
int |
getOfflineConnectionCount()
The number of offline connections. |
long |
getRefusedCount()
How many connections have been refused since the pool started |
long |
getServedCount()
How many connections have been served since the pool started |
java.util.Date |
getSnapshotDate()
The date that this snapshot applies |
boolean |
isDetail()
Whether we have requested detailed information about each connection |
Method Detail |
public java.util.Date getDateStarted()
public long getServedCount()
public long getRefusedCount()
public int getActiveConnectionCount()
public int getAvailableConnectionCount()
public int getOfflineConnectionCount()
public int getMaximumConnectionCount()
definition
.
public java.util.Date getSnapshotDate()
public ConnectionInfoIF[] getConnectionInfos()
isDetail()
public ConnectionInfoIF getConnectionInfo(long id)
id
- the connection ID
isDetail()
public boolean isDetail()
getConnectionInfos()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |