|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This provides real time information about the pool. You can get this from
ProxoolFacade
.
String alias = "myPool"; ConnectionPoolStatisticsIF cps = ProxoolFacade.getConnectionPoolStatistics(alias);
Method Summary | |
int |
getActiveConnectionCount()
The number of connections currently in use. |
int |
getAvailableConnectionCount()
The number of connections that are available for use (doesn't include active connections). |
long |
getConnectionsRefusedCount()
The number of connections refused. |
long |
getConnectionsServedCount()
The number of connections provided. |
java.util.Date |
getDateStarted()
When this pool was started |
int |
getOfflineConnectionCount()
The number of connections that are neither active or available. |
Method Detail |
public long getConnectionsServedCount()
public long getConnectionsRefusedCount()
public int getActiveConnectionCount()
public int getAvailableConnectionCount()
public int getOfflineConnectionCount()
public java.util.Date getDateStarted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |