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 Details
-
getBlockWhenExhausted
boolean getBlockWhenExhausted()- Returns:
- See
BaseGenericObjectPool.getBlockWhenExhausted()
-
getFairness
boolean getFairness()- Returns:
- See
BaseGenericObjectPool.getFairness()
-
getLifo
boolean getLifo()- Returns:
- See
BaseGenericObjectPool.getLifo()
-
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.getMaxWaitMillis()
-
getMinEvictableIdleTimeMillis
long getMinEvictableIdleTimeMillis() -
getMinIdlePerKey
int getMinIdlePerKey()- Returns:
- See
GenericKeyedObjectPool.getMinIdlePerKey()
-
getNumActive
int getNumActive()- Returns:
- See
GenericKeyedObjectPool.getNumActive()
-
getNumIdle
int getNumIdle()- Returns:
- See
GenericKeyedObjectPool.getNumIdle()
-
getNumTestsPerEvictionRun
int getNumTestsPerEvictionRun()- Returns:
- See
BaseGenericObjectPool.getNumTestsPerEvictionRun()
-
getTestOnCreate
boolean getTestOnCreate()- Returns:
- See
BaseGenericObjectPool.getTestOnCreate()
- Since:
- 2.2
-
getTestOnBorrow
boolean getTestOnBorrow()- Returns:
- See
BaseGenericObjectPool.getTestOnBorrow()
-
getTestOnReturn
boolean getTestOnReturn()- Returns:
- See
BaseGenericObjectPool.getTestOnReturn()
-
getTestWhileIdle
boolean getTestWhileIdle()- Returns:
- See
BaseGenericObjectPool.getTestWhileIdle()
-
getTimeBetweenEvictionRunsMillis
long getTimeBetweenEvictionRunsMillis() -
isClosed
boolean isClosed()- Returns:
- See
BaseGenericObjectPool.isClosed()
-
getNumActivePerKey
- Returns:
- See
GenericKeyedObjectPool.getNumActivePerKey()
-
getBorrowedCount
long getBorrowedCount()- Returns:
- See
BaseGenericObjectPool.getBorrowedCount()
-
getReturnedCount
long getReturnedCount()- Returns:
- See
BaseGenericObjectPool.getReturnedCount()
-
getCreatedCount
long getCreatedCount()- Returns:
- See
BaseGenericObjectPool.getCreatedCount()
-
getDestroyedCount
long getDestroyedCount()- Returns:
- See
BaseGenericObjectPool.getDestroyedCount()
-
getDestroyedByEvictorCount
long getDestroyedByEvictorCount()- Returns:
- See
BaseGenericObjectPool.getDestroyedByEvictorCount()
-
getDestroyedByBorrowValidationCount
long getDestroyedByBorrowValidationCount() -
getMeanActiveTimeMillis
long getMeanActiveTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMeanActiveTimeMillis()
-
getMeanIdleTimeMillis
long getMeanIdleTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMeanIdleTimeMillis()
-
getMeanBorrowWaitTimeMillis
long getMeanBorrowWaitTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMaxBorrowWaitTimeMillis()
-
getMaxBorrowWaitTimeMillis
long getMaxBorrowWaitTimeMillis()- Returns:
- See
BaseGenericObjectPool.getMaxBorrowWaitTimeMillis()
-
getCreationStackTrace
String getCreationStackTrace()- Returns:
- See
BaseGenericObjectPool.getCreationStackTrace()
-
getNumWaiters
int getNumWaiters()- Returns:
- See
GenericKeyedObjectPool.getNumWaiters()
-
getNumWaitersByKey
- Returns:
- See
GenericKeyedObjectPool.getNumWaitersByKey()
-
listAllObjects
Map<String,List<DefaultPooledObjectInfo>> listAllObjects()- Returns:
- See
GenericKeyedObjectPool.listAllObjects()
-