Package com.mchange.v2.resourcepool
Interface EventSupportingResourcePool
- 
- All Superinterfaces:
- com.mchange.v1.util.ClosableResource,- ResourcePool
 
 public interface EventSupportingResourcePool extends ResourcePool 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.mchange.v2.resourcepool.ResourcePoolResourcePool.Manager
 
- 
 - 
Field Summary- 
Fields inherited from interface com.mchange.v2.resourcepool.ResourcePoolKNOWN_AND_AVAILABLE, KNOWN_AND_CHECKED_OUT, UNKNOWN_OR_PURGED
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddResourcePoolListener(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.voidremoveResourcePoolListener(ResourcePoolListener rpl)- 
Methods inherited from interface com.mchange.v2.resourcepool.ResourcePoolcheckinAll, 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
 
- 
 
- 
- 
- 
Method Detail- 
addResourcePoolListenervoid addResourcePoolListener(ResourcePoolListener rpl) throws ResourcePoolException 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.- Throws:
- ResourcePoolException
 
 - 
removeResourcePoolListenervoid removeResourcePoolListener(ResourcePoolListener rpl) throws ResourcePoolException - Throws:
- ResourcePoolException
 
 
- 
 
-