org.d_haven.mpool
public class ManagePoolsCommand extends Object implements RepeatedCommand
| Field Summary | |
|---|---|
| static int | DEFAULT_MAX |
| static long | DELAY_INTERVAL |
| int | m_grow |
| int | m_max |
| int | m_min |
| List | m_pools |
| Constructor Summary | |
|---|---|
| ManagePoolsCommand(List pools)
Create the ManagePoolsCommand with the supplied list of pools.
| |
| Method Summary | |
|---|---|
| void | execute() |
| long | getDelayInterval() |
| int | getNumberOfRepeats() |
| long | getRepeatInterval() |
| String | toString() |
Parameters: pools the list of pools to manage