public interface ConnectionPoolMXBean extends ManagedObjectMXBean
resin:type=ConnectionPool,name=jdbc/resin,...
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all idle connections in the pool.
|
int |
getConnectionActiveCount()
Returns the number of active connections.
|
int |
getConnectionCount()
Returns the total number of connections.
|
long |
getConnectionCountTotal()
Returns the total number of connections.
|
int |
getConnectionCreateCount()
Returns the number of connections being created.
|
long |
getConnectionCreateCountTotal()
Returns the total number of created connections.
|
long |
getConnectionFailCountTotal()
Returns the total number of failed connections.
|
int |
getConnectionIdleCount()
Returns the number of idle connections.
|
long |
getConnectionWaitTime()
How long to wait for connections when timed out.
|
java.util.Date |
getLastFailTime()
Returns the last failed connection time.
|
long |
getMaxActiveTime()
Returns the pool active time in milliseconds.
|
int |
getMaxConnections()
Returns the maximum number of connections.
|
int |
getMaxCreateConnections()
Returns the max number of connections trying to connect.
|
int |
getMaxIdleCount()
Returns the maximum number of idle connections
|
long |
getMaxIdleTime()
Returns the pool idle time in milliseconds.
|
int |
getMaxOverflowConnections()
Returns the number of overflow connections.
|
long |
getMaxPoolTime()
Returns the pool time in milliseconds.
|
int |
getMinIdleCount()
Returns the minimum number of idle connections
|
boolean |
isLocalTransactionOptimization()
Returns true if the local-transaction-optimization is allowed
|
boolean |
isShareable()
Returns true for the JCA shared attribute.
|
getName, getObjectName, getType
int getMaxConnections()
int getMaxOverflowConnections()
int getMaxCreateConnections()
@Units(value="milliseconds") long getMaxIdleTime()
int getMaxIdleCount()
int getMinIdleCount()
@Units(value="milliseconds") long getMaxActiveTime()
@Units(value="milliseconds") long getMaxPoolTime()
@Units(value="milliseconds") long getConnectionWaitTime()
boolean isShareable()
boolean isLocalTransactionOptimization()
int getConnectionCount()
int getConnectionActiveCount()
int getConnectionIdleCount()
int getConnectionCreateCount()
long getConnectionCountTotal()
long getConnectionCreateCountTotal()
long getConnectionFailCountTotal()
java.util.Date getLastFailTime()
void clear()