public interface ConnectionPoolMBean extends PoolConfiguration
PKG_PREFIX
Modifier and Type | Method and Description |
---|---|
void |
checkAbandoned() |
void |
checkIdle() |
int |
getActive() |
long |
getBorrowedCount() |
long |
getCreatedCount() |
int |
getIdle() |
int |
getNumActive() |
int |
getNumIdle() |
long |
getReconnectedCount() |
long |
getReleasedCount() |
long |
getReleasedIdleCount() |
long |
getRemoveAbandonedCount() |
long |
getReturnedCount() |
int |
getSize() |
int |
getWaitCount() |
void |
purge()
Purges all connections in the pool.
|
void |
purgeOnReturn()
Purges connections when they are returned from the pool.
|
void |
resetStats()
reset the statistics of this pool.
|
void |
testIdle() |
getAbandonWhenPercentageFull, getCommitOnReturn, getConnectionProperties, getDataSource, getDataSourceJNDI, getDbProperties, getDefaultAutoCommit, getDefaultCatalog, getDefaultReadOnly, getDefaultTransactionIsolation, getDriverClassName, getInitialSize, getInitSQL, getJdbcInterceptors, getJdbcInterceptorsAsArray, getLogValidationErrors, getMaxActive, getMaxAge, getMaxIdle, getMaxWait, getMinEvictableIdleTimeMillis, getMinIdle, getName, getNumTestsPerEvictionRun, getPassword, getPoolName, getPropagateInterruptState, getRemoveAbandonedTimeout, getRollbackOnReturn, getSuspectTimeout, getTimeBetweenEvictionRunsMillis, getUrl, getUseDisposableConnectionFacade, getUseLock, getUsername, getUseStatementFacade, getValidationInterval, getValidationQuery, getValidationQueryTimeout, getValidator, getValidatorClassName, isAccessToUnderlyingConnectionAllowed, isAlternateUsernameAllowed, isDefaultAutoCommit, isDefaultReadOnly, isFairQueue, isIgnoreExceptionOnPreLoad, isJmxEnabled, isLogAbandoned, isPoolSweeperEnabled, isRemoveAbandoned, isTestOnBorrow, isTestOnConnect, isTestOnReturn, isTestWhileIdle, isUseEquals, setAbandonWhenPercentageFull, setAccessToUnderlyingConnectionAllowed, setAlternateUsernameAllowed, setCommitOnReturn, setConnectionProperties, setDataSource, setDataSourceJNDI, setDbProperties, setDefaultAutoCommit, setDefaultCatalog, setDefaultReadOnly, setDefaultTransactionIsolation, setDriverClassName, setFairQueue, setIgnoreExceptionOnPreLoad, setInitialSize, setInitSQL, setJdbcInterceptors, setJmxEnabled, setLogAbandoned, setLogValidationErrors, setMaxActive, setMaxAge, setMaxIdle, setMaxWait, setMinEvictableIdleTimeMillis, setMinIdle, setName, setNumTestsPerEvictionRun, setPassword, setPropagateInterruptState, setRemoveAbandoned, setRemoveAbandonedTimeout, setRollbackOnReturn, setSuspectTimeout, setTestOnBorrow, setTestOnConnect, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillis, setUrl, setUseDisposableConnectionFacade, setUseEquals, setUseLock, setUsername, setUseStatementFacade, setValidationInterval, setValidationQuery, setValidationQueryTimeout, setValidator, setValidatorClassName
int getSize()
int getIdle()
int getActive()
int getNumIdle()
int getNumActive()
int getWaitCount()
long getBorrowedCount()
long getReturnedCount()
long getCreatedCount()
long getReleasedCount()
long getReconnectedCount()
long getRemoveAbandonedCount()
long getReleasedIdleCount()
void checkIdle()
void checkAbandoned()
void testIdle()
void purge()
purgeOnReturn()
void purgeOnReturn()
purge()
void resetStats()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.