|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.excalibur.component.DefaultComponentPoolController
This is the PoolController
for the Avalon Excalibur
Component Management Framework.
Field Summary | |
static int |
DEFAULT_AMOUNT
Default increase/decrease amount |
protected int |
m_amount
Used increase/decrease amount |
Constructor Summary | |
DefaultComponentPoolController()
The default constructor. |
|
DefaultComponentPoolController(int amount)
The alternate constructor. |
Method Summary | |
int |
grow()
Called when a Pool reaches it's minimum. |
int |
shrink()
Called when a pool reaches it's maximum. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEFAULT_AMOUNT
protected final int m_amount
Constructor Detail |
public DefaultComponentPoolController()
public DefaultComponentPoolController(int amount)
amount
- The amount to grow and shrink a pool by.Method Detail |
public int grow()
grow
in interface PoolController
org.apache.avalon.excalibur.pool.PoolController
public int shrink()
shrink
in interface PoolController
org.apache.avalon.excalibur.pool.PoolController
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |