|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PoolController
This is the interface you implement if you want to control how Pools capacity changes overtime. It gets called everytime that a Pool tries to go below or above it's minimum or maximum.
Method Summary | |
---|---|
int |
grow()
Called when a Pool reaches it's minimum. |
int |
shrink()
Called when a pool reaches it's maximum. |
Method Detail |
---|
int grow()
int shrink()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |