|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SnapshotIF
Provides a snapshot of a pool
Method Summary | |
---|---|
int |
getActiveConnectionCount()
The number of active (busy) connections |
int |
getAvailableConnectionCount()
The number of available (free) connections |
long |
getConnectionCount()
|
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 |
---|
java.util.Date getDateStarted()
long getServedCount()
long getRefusedCount()
int getActiveConnectionCount()
int getAvailableConnectionCount()
int getOfflineConnectionCount()
int getMaximumConnectionCount()
definition
.
java.util.Date getSnapshotDate()
ConnectionInfoIF[] getConnectionInfos()
isDetail()
ConnectionInfoIF getConnectionInfo(long id)
id
- the connection ID
isDetail()
boolean isDetail()
getConnectionInfos()
long getConnectionCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |