public interface EventSupportingResourcePool extends ResourcePool
ResourcePool.Manager
KNOWN_AND_AVAILABLE, KNOWN_AND_CHECKED_OUT, UNKNOWN_OR_PURGED
Modifier and Type | Method and Description |
---|---|
void |
addResourcePoolListener(ResourcePoolListener rpl)
Events may be fired asynchronously: listeners must not rely on
events to reflect the current state of the pool, but they will
accurately represent the state of the pool in the recent past
when the event-provoking incident occurred.
|
void |
removeResourcePoolListener(ResourcePoolListener rpl) |
checkinAll, checkinResource, checkoutResource, checkoutResource, close, close, getAvailableCount, getAwaitingCheckinCount, getAwaitingCheckinNotExcludedCount, getEffectiveExpirationEnforcementDelay, getExcludedCount, getLastAcquisitionFailure, getLastCheckinFailure, getLastCheckoutFailure, getLastIdleCheckFailure, getLastResourceTestFailure, getMaxPoolSize, getMinPoolSize, getNumCheckoutWaiters, getNumFailedCheckins, getNumFailedCheckouts, getNumFailedIdleTests, getPoolSize, getStartTime, getUpTime, markBroken, resetPool, setPoolSize, statusInPool
void addResourcePoolListener(ResourcePoolListener rpl) throws ResourcePoolException
ResourcePoolException
void removeResourcePoolListener(ResourcePoolListener rpl) throws ResourcePoolException
ResourcePoolException