
public class MaxPoolSizeIncrementer extends Object implements CapacityIncrementer
| Constructor and Description |
|---|
MaxPoolSizeIncrementer()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldCreate(int currentSize,
int maxSize,
int created)
Should the connection listener be created
|
public boolean shouldCreate(int currentSize,
int maxSize,
int created)
shouldCreate in interface CapacityIncrementercurrentSize - The current pool sizemaxSize - The maximum pool sizecreated - The number of connection listeners created during this call cycleTrue if a connection listener should be created; otherwise falseCopyright © 2013 IronJacamar (http://www.ironjacamar.org)