public class MinPoolSizeDecrementer extends java.lang.Object implements CapacityDecrementer
Constructor and Description |
---|
MinPoolSizeDecrementer()
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 CapacityDecrementer
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 false
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)