Interface GenericKeyedObjectPoolMXBean<K>
- Type Parameters:
K
- The type of keys maintained by the pool.
- All Known Implementing Classes:
GenericKeyedObjectPool
public interface GenericKeyedObjectPoolMXBean<K>
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 Summary
-
Method Details
-
getBlockWhenExhausted
boolean getBlockWhenExhausted()- Returns:
- See
BaseGenericObjectPool.getBlockWhenExhausted()
.
-
getBorrowedCount
long getBorrowedCount()- Returns:
- See
BaseGenericObjectPool.getBorrowedCount()
.
-
getCreatedCount
long getCreatedCount()- Returns:
- See
BaseGenericObjectPool.getCreatedCount()
.
-
getCreationStackTrace
String getCreationStackTrace()- Returns:
- See
BaseGenericObjectPool.getCreationStackTrace()
.
-
getDestroyedByBorrowValidationCount
long getDestroyedByBorrowValidationCount() -
getDestroyedByEvictorCount
long getDestroyedByEvictorCount()- Returns:
- See
BaseGenericObjectPool.getDestroyedByEvictorCount()
.
-
getDestroyedCount
long getDestroyedCount()- Returns:
- See
BaseGenericObjectPool.getDestroyedCount()
.
-
getFairness
boolean getFairness()- Returns:
- See
BaseGenericObjectPool.getFairness()
.
-
getLifo
boolean getLifo()- Returns:
- See
BaseGenericObjectPool.getLifo()
.
-
getLogAbandoned
default boolean getLogAbandoned()- Returns:
- See
BaseGenericObjectPool.getLogAbandoned()
. - Since:
- 2.10.0
-
getMaxBorrowWaitTimeMillis
long getMaxBorrowWaitTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMaxBorrowWaitTimeMillis()
.
-
getMaxIdlePerKey
int getMaxIdlePerKey()- Returns:
- See
GenericKeyedObjectPool.getMaxIdlePerKey()
.
-
getMaxTotal
int getMaxTotal()- Returns:
- See
BaseGenericObjectPool.getMaxTotal()
.
-
getMaxTotalPerKey
int getMaxTotalPerKey()- Returns:
- See
GenericKeyedObjectPool.getMaxTotalPerKey()
.
-
getMaxWaitMillis
long getMaxWaitMillis()- Returns:
- See
BaseGenericObjectPool.getMaxWaitDuration()
.
-
getMeanActiveTimeMillis
long getMeanActiveTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMeanActiveTimeMillis()
.
-
getMeanBorrowWaitTimeMillis
long getMeanBorrowWaitTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMaxBorrowWaitTimeMillis()
.
-
getMeanIdleTimeMillis
long getMeanIdleTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMeanIdleTimeMillis()
.
-
getMinEvictableIdleTimeMillis
long getMinEvictableIdleTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMinEvictableIdleDuration()
.
-
getMinIdlePerKey
int getMinIdlePerKey()- Returns:
- See
GenericKeyedObjectPool.getMinIdlePerKey()
.
-
getNumActive
int getNumActive()- Returns:
- See
GenericKeyedObjectPool.getNumActive()
.
-
getNumActivePerKey
- Returns:
- See
GenericKeyedObjectPool.getNumActivePerKey()
.
-
getNumIdle
int getNumIdle()- Returns:
- See
GenericKeyedObjectPool.getNumIdle()
.
-
getNumTestsPerEvictionRun
int getNumTestsPerEvictionRun()- Returns:
- See
BaseGenericObjectPool.getNumTestsPerEvictionRun()
.
-
getNumWaiters
int getNumWaiters()- Returns:
- See
GenericKeyedObjectPool.getNumWaiters()
.
-
getNumWaitersByKey
- Returns:
- See
GenericKeyedObjectPool.getNumWaitersByKey()
.
-
getRemoveAbandonedOnBorrow
default boolean getRemoveAbandonedOnBorrow()- Returns:
- See
BaseGenericObjectPool.getRemoveAbandonedOnBorrow()
. - Since:
- 2.10.0
-
getRemoveAbandonedOnMaintenance
default boolean getRemoveAbandonedOnMaintenance()- Returns:
- See
BaseGenericObjectPool.getRemoveAbandonedOnMaintenance()
. - Since:
- 2.10.0
-
getRemoveAbandonedTimeout
default int getRemoveAbandonedTimeout()- Returns:
- See
BaseGenericObjectPool.getRemoveAbandonedTimeoutDuration()
. - Since:
- 2.10.0
-
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
long getTimeBetweenEvictionRunsMillis()- Returns:
- See
BaseGenericObjectPool.getDurationBetweenEvictionRuns()
.
-
isAbandonedConfig
default boolean isAbandonedConfig()- Returns:
- See
BaseGenericObjectPool.isAbandonedConfig()
. - Since:
- 2.10.0
-
isClosed
boolean isClosed()- Returns:
- See
BaseGenericObjectPool.isClosed()
.
-
listAllObjects
Map<String,List<DefaultPooledObjectInfo>> listAllObjects()- Returns:
- See
GenericKeyedObjectPool.listAllObjects()
.
-