|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.avalon.excalibur.pool.DefaultPoolController
This is a PoolController that controls how many instances of a Poolable are created at one time.
| Field Summary | |
private int |
m_amount |
| Constructor Summary | |
DefaultPoolController() |
|
DefaultPoolController(int amount) |
|
| 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 |
private final int m_amount
| Constructor Detail |
public DefaultPoolController()
public DefaultPoolController(int amount)
| Method Detail |
public int grow()
PoolControllergrow in interface PoolControllerpublic int shrink()
PoolControllershrink in interface PoolController
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||