
public class TimedOutDecrementer extends java.lang.Object implements CapacityDecrementer
| Constructor and Description |
|---|
TimedOutDecrementer()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldDestroy(ConnectionListener cl,
long timeout,
int currentSize,
int minPoolSize,
int destroyed)
Should the connection listener be destroyed
|
java.lang.String |
toString() |
public boolean shouldDestroy(ConnectionListener cl, long timeout, int currentSize, int minPoolSize, int destroyed)
shouldDestroy in interface CapacityDecrementercl - 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 falsepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 IronJacamar (http://www.ironjacamar.org)