
public class SizeIncrementer extends java.lang.Object implements CapacityIncrementer
| Constructor and Description |
|---|
SizeIncrementer()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
setSize(int v)
Set the size
|
boolean |
shouldCreate(int currentSize,
int maxSize,
int created)
Should the connection listener be created
|
java.lang.String |
toString() |
public void setSize(int v)
v - The valuepublic 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 falsepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 IronJacamar (http://www.ironjacamar.org)