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