|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface SnapshotIF
Provides a snapshot of a pool
| 方法摘要 | |
|---|---|
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. |
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 |
Date |
getSnapshotDate()
The date that this snapshot applies |
boolean |
isDetail()
Whether we have requested detailed information about each connection |
| 方法详细信息 |
|---|
Date getDateStarted()
long getServedCount()
long getRefusedCount()
int getActiveConnectionCount()
int getAvailableConnectionCount()
int getOfflineConnectionCount()
int getMaximumConnectionCount()
definition.
Date getSnapshotDate()
ConnectionInfoIF[] getConnectionInfos()
isDetail()ConnectionInfoIF getConnectionInfo(long id)
id - the connection ID
isDetail()boolean isDetail()
getConnectionInfos()long getConnectionCount()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||