Package org.apache.commons.pool2.impl
Interface GenericObjectPoolMXBean
- All Known Implementing Classes:
GenericObjectPool
public interface GenericObjectPoolMXBean
Defines the methods that will be made available via JMX.
Note
This interface exists only to define those attributes and methods that will be made available via JMX. It must not be implemented by clients as it is subject to change between major, minor and patch version releases of commons pool. Clients that implement this interface may not, therefore, be able to upgrade to a new minor or patch release without requiring code changes.
- Since:
- 2.0
-
Method Details
-
getBlockWhenExhausted
boolean getBlockWhenExhausted()- Returns:
- See
BaseGenericObjectPool.getBlockWhenExhausted()
.
-
getBorrowedCount
long getBorrowedCount()- Returns:
- See
BaseGenericObjectPool.getBorrowedCount()
.
-
getCreatedCount
long getCreatedCount()- Returns:
- See
BaseGenericObjectPool.getCreatedCount()
.
-
getCreationStackTrace
- Returns:
- See
BaseGenericObjectPool.getCreationStackTrace()
.
-
getDestroyedByBorrowValidationCount
-
getDestroyedByEvictorCount
long getDestroyedByEvictorCount()- Returns:
- See
BaseGenericObjectPool.getDestroyedByEvictorCount()
.
-
getDestroyedCount
long getDestroyedCount()- Returns:
- See
BaseGenericObjectPool.getDestroyedCount()
.
-
getFactoryType
- Returns:
- See
GenericObjectPool.getFactoryType()
.
-
getFairness
boolean getFairness()- Returns:
- See
BaseGenericObjectPool.getLifo()
.
-
getLifo
boolean getLifo()- Returns:
- See
BaseGenericObjectPool.getFairness()
.
-
getLogAbandoned
boolean getLogAbandoned()- Returns:
- See
BaseGenericObjectPool.getLogAbandoned()
.
-
getMaxBorrowWaitTimeMillis
long getMaxBorrowWaitTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMaxBorrowWaitTimeMillis()
.
-
getMaxIdle
int getMaxIdle()- Returns:
- See
GenericObjectPool.getMaxIdle()
.
-
getMaxTotal
int getMaxTotal()- Returns:
- See
BaseGenericObjectPool.getMaxTotal()
.
-
getMaxWaitMillis
long getMaxWaitMillis()- Returns:
- See
BaseGenericObjectPool.getMaxWaitDuration()
.
-
getMeanActiveTimeMillis
long getMeanActiveTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMeanActiveTimeMillis()
.
-
getMeanBorrowWaitTimeMillis
long getMeanBorrowWaitTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMeanBorrowWaitTimeMillis()
.
-
getMeanIdleTimeMillis
long getMeanIdleTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMeanIdleTimeMillis()
.
-
getMinEvictableIdleTimeMillis
- Returns:
- See
BaseGenericObjectPool.getMinEvictableIdleDuration()
.
-
getMinIdle
int getMinIdle()- Returns:
- See
GenericObjectPool.getMinIdle()
.
-
getNumActive
int getNumActive()- Returns:
- See
GenericObjectPool.getNumActive()
.
-
getNumIdle
int getNumIdle()- Returns:
- See
GenericObjectPool.getNumIdle()
.
-
getNumTestsPerEvictionRun
- Returns:
- See
BaseGenericObjectPool.getNumTestsPerEvictionRun()
.
-
getNumWaiters
int getNumWaiters()- Returns:
- See
GenericObjectPool.getNumWaiters()
.
-
getRemoveAbandonedOnBorrow
boolean getRemoveAbandonedOnBorrow()- Returns:
- See
BaseGenericObjectPool.getRemoveAbandonedOnBorrow()
.
-
getRemoveAbandonedOnMaintenance
boolean getRemoveAbandonedOnMaintenance()- Returns:
- See
BaseGenericObjectPool.getRemoveAbandonedOnMaintenance()
.
-
getRemoveAbandonedTimeout
-
getReturnedCount
long getReturnedCount()- Returns:
- See
BaseGenericObjectPool.getReturnedCount()
.
-
getTestOnBorrow
boolean getTestOnBorrow()- Returns:
- See
BaseGenericObjectPool.getTestOnBorrow()
.
-
getTestOnCreate
boolean getTestOnCreate()- Returns:
- See
BaseGenericObjectPool.getTestOnCreate()
. - Since:
- 2.2
-
getTestOnReturn
boolean getTestOnReturn()- Returns:
- See
BaseGenericObjectPool.getTestOnReturn()
.
-
getTestWhileIdle
boolean getTestWhileIdle()- Returns:
- See
BaseGenericObjectPool.getTestWhileIdle()
.
-
getTimeBetweenEvictionRunsMillis
- Returns:
- See
BaseGenericObjectPool.getDurationBetweenEvictionRuns()
.
-
isAbandonedConfig
boolean isAbandonedConfig()- Returns:
- See
BaseGenericObjectPool.isAbandonedConfig()
.
-
isClosed
boolean isClosed()- Returns:
- See
BaseGenericObjectPool.isClosed()
.
-
listAllObjects
- Returns:
- See
GenericObjectPool.listAllObjects()
.
-