Interface ConnectionPoolMonitor
-
- All Superinterfaces:
Monitor
- All Known Implementing Classes:
ObjectPoolMonitor
@MXBean public interface ConnectionPoolMonitor extends Monitor
- Author:
- matic
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getActiveTimeoutMinutes()
Returns the active timeout before the connection being killed.int
getBlockingTimeoutMilliseconds()
int
getConnectionCount()
int
getIdleConnectionCount()
int
getIdleTimeoutMinutes()
long
getKilledActiveConnectionCount()
Returns the current killed connection countString
getName()
Returns the pool nameint
killActiveTimedoutConnections()
Kills active timed out connections in the pool.void
reset()
Destroys the current connection manager and replace it by a new one
-
-
-
Field Detail
-
NAME
static final String NAME
-
-
Method Detail
-
getName
String getName()
Returns the pool name- Since:
- 8.4
-
getConnectionCount
int getConnectionCount()
-
getIdleConnectionCount
int getIdleConnectionCount()
-
getBlockingTimeoutMilliseconds
int getBlockingTimeoutMilliseconds()
-
getIdleTimeoutMinutes
int getIdleTimeoutMinutes()
-
getActiveTimeoutMinutes
int getActiveTimeoutMinutes()
Returns the active timeout before the connection being killed.- Since:
- 8.4
-
getKilledActiveConnectionCount
long getKilledActiveConnectionCount()
Returns the current killed connection count- Since:
- 8.4
-
killActiveTimedoutConnections
int killActiveTimedoutConnections()
Kills active timed out connections in the pool. Returns the killed count.- Since:
- 8.4
-
reset
void reset()
Destroys the current connection manager and replace it by a new one- Since:
- 8.4
-
-