public interface ManagablePool extends Pool
| Modifier and Type | Method and Description |
|---|---|
void |
grow(int amount)
Grow by the specified amount.
|
void |
shrink(int amount)
Shrink the pool by the specified amount.
|
int |
size()
Determine the pool's current size.
|
acquire, addPoolListener, release, removePoolListenervoid grow(int amount)
amount - an integer amount to increase the pool size by.void shrink(int amount)
amount - an integer amount to decrease the pool size by.int size()