public class DefaultComponentPoolController
extends java.lang.Object
implements org.apache.avalon.excalibur.pool.PoolController, org.apache.avalon.framework.thread.ThreadSafe
PoolController for the Avalon Excalibur
Component Management Framework.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_AMOUNT
Deprecated.
Default increase/decrease amount
|
protected int |
m_amount
Deprecated.
Used increase/decrease amount
|
| Constructor and Description |
|---|
DefaultComponentPoolController()
Deprecated.
The default constructor.
|
DefaultComponentPoolController(int amount)
Deprecated.
The alternate constructor.
|
public static final int DEFAULT_AMOUNT
protected final int m_amount
public DefaultComponentPoolController()
public DefaultComponentPoolController(int amount)
amount - The amount to grow and shrink a pool by.public int grow()
grow in interface org.apache.avalon.excalibur.pool.PoolControllerpublic int shrink()
shrink in interface org.apache.avalon.excalibur.pool.PoolController