Top Description Methods
org.apache.commons.pool2.impl

public Interface GenericObjectPoolMXBean

Known Direct Implementers
org.apache.commons.pool2.impl.GenericObjectPool
Imports
java.util.Set

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

Modifier and TypeMethod and Description
public boolean
public long
public long
public String
public long
public long
public long
public String
public boolean
public boolean
public boolean
public long
public int
public int
public long
public long
public long
public long
public long
public int
public int
public int
public int
public int
public boolean
public boolean
public int
public long
public boolean
public boolean
public boolean
public boolean
public long
public boolean
public boolean
public Set<DefaultPooledObjectInfo>

Method Detail

getBlockWhenExhaustedback to summary
public boolean getBlockWhenExhausted()

See GenericObjectPool#getBlockWhenExhausted().

Returns:boolean

See GenericObjectPool#getBlockWhenExhausted().

getBorrowedCountback to summary
public long getBorrowedCount()

See GenericObjectPool#getBorrowedCount().

Returns:long

See GenericObjectPool#getBorrowedCount().

getCreatedCountback to summary
public long getCreatedCount()

See GenericObjectPool#getCreatedCount().

Returns:long

See GenericObjectPool#getCreatedCount().

getCreationStackTraceback to summary
public String getCreationStackTrace()

See GenericObjectPool#getCreationStackTrace().

Returns:String

See GenericObjectPool#getCreationStackTrace().

getDestroyedByBorrowValidationCountback to summary
public long getDestroyedByBorrowValidationCount()

See GenericObjectPool#getDestroyedByBorrowValidationCount().

Returns:long

See GenericObjectPool#getDestroyedByBorrowValidationCount().

getDestroyedByEvictorCountback to summary
public long getDestroyedByEvictorCount()

See GenericObjectPool#getDestroyedByEvictorCount().

Returns:long

See GenericObjectPool#getDestroyedByEvictorCount().

getDestroyedCountback to summary
public long getDestroyedCount()

See GenericObjectPool#getDestroyedCount().

Returns:long

See GenericObjectPool#getDestroyedCount().

getFactoryTypeback to summary
public String getFactoryType()

See GenericObjectPool#getFactoryType().

Returns:String

See GenericObjectPool#getFactoryType().

getFairnessback to summary
public boolean getFairness()

See GenericObjectPool#getLifo().

Returns:boolean

See GenericObjectPool#getLifo().

getLifoback to summary
public boolean getLifo()

See GenericObjectPool#getFairness().

Returns:boolean

See GenericObjectPool#getFairness().

getLogAbandonedback to summary
public boolean getLogAbandoned()

See GenericObjectPool#getLogAbandoned().

Returns:boolean

See GenericObjectPool#getLogAbandoned().

getMaxBorrowWaitTimeMillisback to summary
public long getMaxBorrowWaitTimeMillis()

See GenericObjectPool#getMaxBorrowWaitTimeMillis().

Returns:long

See GenericObjectPool#getMaxBorrowWaitTimeMillis().

getMaxIdleback to summary
public int getMaxIdle()

See GenericObjectPool#getMaxIdle().

Returns:int

See GenericObjectPool#getMaxIdle().

getMaxTotalback to summary
public int getMaxTotal()

See GenericObjectPool#getMaxTotal().

Returns:int

See GenericObjectPool#getMaxTotal().

getMaxWaitMillisback to summary
public long getMaxWaitMillis()

See GenericObjectPool#getMaxWaitDuration().

Returns:long

See GenericObjectPool#getMaxWaitDuration().

getMeanActiveTimeMillisback to summary
public long getMeanActiveTimeMillis()

See GenericObjectPool#getMeanActiveTimeMillis().

Returns:long

See GenericObjectPool#getMeanActiveTimeMillis().

getMeanBorrowWaitTimeMillisback to summary
public long getMeanBorrowWaitTimeMillis()

See GenericObjectPool#getMeanBorrowWaitTimeMillis().

Returns:long

See GenericObjectPool#getMeanBorrowWaitTimeMillis().

getMeanIdleTimeMillisback to summary
public long getMeanIdleTimeMillis()

See GenericObjectPool#getMeanIdleTimeMillis().

Returns:long

See GenericObjectPool#getMeanIdleTimeMillis().

getMinEvictableIdleTimeMillisback to summary
public long getMinEvictableIdleTimeMillis()

See GenericObjectPool#getMinEvictableIdleDuration().

Returns:long

See GenericObjectPool#getMinEvictableIdleDuration().

getMinIdleback to summary
public int getMinIdle()

See GenericObjectPool#getMinIdle().

Returns:int

See GenericObjectPool#getMinIdle().

getNumActiveback to summary
public int getNumActive()

See GenericObjectPool#getNumActive().

Returns:int

See GenericObjectPool#getNumActive().

getNumIdleback to summary
public int getNumIdle()

See GenericObjectPool#getNumIdle().

Returns:int

See GenericObjectPool#getNumIdle().

getNumTestsPerEvictionRunback to summary
public int getNumTestsPerEvictionRun()

See GenericObjectPool#getNumTestsPerEvictionRun().

Returns:int

See GenericObjectPool#getNumTestsPerEvictionRun().

getNumWaitersback to summary
public int getNumWaiters()

See GenericObjectPool#getNumWaiters().

Returns:int

See GenericObjectPool#getNumWaiters().

getRemoveAbandonedOnBorrowback to summary
public boolean getRemoveAbandonedOnBorrow()

See GenericObjectPool#getRemoveAbandonedOnBorrow().

Returns:boolean

See GenericObjectPool#getRemoveAbandonedOnBorrow().

getRemoveAbandonedOnMaintenanceback to summary
public boolean getRemoveAbandonedOnMaintenance()

See GenericObjectPool#getRemoveAbandonedOnMaintenance().

Returns:boolean

See GenericObjectPool#getRemoveAbandonedOnMaintenance().

getRemoveAbandonedTimeoutback to summary
public int getRemoveAbandonedTimeout()

See GenericObjectPool#getRemoveAbandonedTimeoutDuration().

Returns:int

See GenericObjectPool#getRemoveAbandonedTimeoutDuration().

getReturnedCountback to summary
public long getReturnedCount()

See GenericObjectPool#getReturnedCount().

Returns:long

See GenericObjectPool#getReturnedCount().

getTestOnBorrowback to summary
public boolean getTestOnBorrow()

See GenericObjectPool#getTestOnBorrow().

Returns:boolean

See GenericObjectPool#getTestOnBorrow().

getTestOnCreateback to summary
public boolean getTestOnCreate()

See GenericObjectPool#getTestOnCreate().

Returns:boolean

See GenericObjectPool#getTestOnCreate().

Since
2.2
getTestOnReturnback to summary
public boolean getTestOnReturn()

See GenericObjectPool#getTestOnReturn().

Returns:boolean

See GenericObjectPool#getTestOnReturn().

getTestWhileIdleback to summary
public boolean getTestWhileIdle()

See GenericObjectPool#getTestWhileIdle().

Returns:boolean

See GenericObjectPool#getTestWhileIdle().

getTimeBetweenEvictionRunsMillisback to summary
public long getTimeBetweenEvictionRunsMillis()

See GenericObjectPool#getDurationBetweenEvictionRuns().

Returns:long

See GenericObjectPool#getDurationBetweenEvictionRuns().

isAbandonedConfigback to summary
public boolean isAbandonedConfig()

See GenericObjectPool#isAbandonedConfig().

Returns:boolean

See GenericObjectPool#isAbandonedConfig().

isClosedback to summary
public boolean isClosed()

See GenericObjectPool#isClosed().

Returns:boolean

See GenericObjectPool#isClosed().

listAllObjectsback to summary
public Set<DefaultPooledObjectInfo> listAllObjects()

See GenericObjectPool#listAllObjects().

Returns:Set<DefaultPooledObjectInfo>

See GenericObjectPool#listAllObjects().