public interface SnapshotIF
Modifier and Type | Method and Description |
---|---|
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
|
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()