Package org.apache.tomcat.jdbc.pool.jmx
Interface ConnectionPoolMBean
- 
- All Superinterfaces:
- PoolConfiguration
 - All Known Implementing Classes:
- ConnectionPool,- DataSource,- XADataSource
 
 public interface ConnectionPoolMBean extends PoolConfiguration 
- 
- 
Field Summary- 
Fields inherited from interface org.apache.tomcat.jdbc.pool.PoolConfigurationPKG_PREFIX
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckAbandoned()voidcheckIdle()intgetActive()longgetBorrowedCount()longgetCreatedCount()intgetIdle()intgetNumActive()intgetNumIdle()longgetReconnectedCount()longgetReleasedCount()longgetReleasedIdleCount()longgetRemoveAbandonedCount()longgetReturnedCount()intgetSize()intgetWaitCount()voidpurge()Purges all connections in the pool.voidpurgeOnReturn()Purges connections when they are returned from the pool.voidresetStats()reset the statistics of this pool.voidtestIdle()- 
Methods inherited from interface org.apache.tomcat.jdbc.pool.PoolConfigurationgetAbandonWhenPercentageFull, 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
 
- 
 
- 
- 
- 
Method Detail- 
getSizeint getSize() 
 - 
getIdleint getIdle() 
 - 
getActiveint getActive() 
 - 
getNumIdleint getNumIdle() 
 - 
getNumActiveint getNumActive() 
 - 
getWaitCountint getWaitCount() 
 - 
getBorrowedCountlong getBorrowedCount() 
 - 
getReturnedCountlong getReturnedCount() 
 - 
getCreatedCountlong getCreatedCount() 
 - 
getReleasedCountlong getReleasedCount() 
 - 
getReconnectedCountlong getReconnectedCount() 
 - 
getRemoveAbandonedCountlong getRemoveAbandonedCount() 
 - 
getReleasedIdleCountlong getReleasedIdleCount() 
 - 
checkIdlevoid checkIdle() 
 - 
checkAbandonedvoid checkAbandoned() 
 - 
testIdlevoid testIdle() 
 - 
purgevoid purge() Purges all connections in the pool. For connections currently in use, these connections will be purged when returned on the pool. This call also purges connections that are idle and in the pool To only purge used/active connections seepurgeOnReturn()
 - 
purgeOnReturnvoid purgeOnReturn() Purges connections when they are returned from the pool. This call does not purge idle connections until they are used. To purge idle connections seepurge()
 - 
resetStatsvoid resetStats() reset the statistics of this pool.
 
- 
 
-