Top Fields Methods
com.mchange.v2.resourcepool

public Interface EventSupportingResourcePool

extends ResourcePool
Imports
com.mchange.v1.util.ClosableResource

Field Summary

Inherited from com.mchange.v2.resourcepool.ResourcePool:
KNOWN_AND_AVAILABLEKNOWN_AND_CHECKED_OUTUNKNOWN_OR_PURGED

Method Summary

Modifier and TypeMethod and Description
public 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.

public void
Inherited from com.mchange.v2.resourcepool.ResourcePool:
checkinAllcheckinResourcecheckoutResourcecheckoutResourcecloseclosegetAvailableCountgetAwaitingCheckinCountgetAwaitingCheckinNotExcludedCountgetEffectiveExpirationEnforcementDelaygetExcludedCountgetLastAcquisitionFailuregetLastCheckinFailuregetLastCheckoutFailuregetLastIdleCheckFailuregetLastResourceTestFailuregetMaxPoolSizegetMinPoolSizegetNumCheckoutWaitersgetNumFailedCheckinsgetNumFailedCheckoutsgetNumFailedIdleTestsgetPoolSizegetStartTimegetUpTimemarkBrokenresetPoolsetPoolSizestatusInPool

Method Detail

addResourcePoolListenerback to summary
public void 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.

removeResourcePoolListenerback to summary
public void removeResourcePoolListener(ResourcePoolListener rpl) throws ResourcePoolException