
public interface CapacityDecrementer
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldDestroy(ConnectionListener cl,
long timeout,
int currentSize,
int minPoolSize,
int destroyed)
Should the connection listener be destroyed
|
boolean shouldDestroy(ConnectionListener cl, long timeout, int currentSize, int minPoolSize, int destroyed)
cl - The connection listenertimeout - The timeout watermarkcurrentSize - The current pool sizeminPoolSize - The minimum pool sizedestroyed - The number of connection listeners destroyed during this call cycleTrue if the connection listener should be destroyed; otherwise falseCopyright © 2014 IronJacamar (http://www.ironjacamar.org)