org.logicalcobwebs.proxool
public class HouseKeeperController extends java.lang.Object
Constructor and Description |
---|
HouseKeeperController() |
Modifier and Type | Method and Description |
---|---|
protected static void |
cancel(java.lang.String alias)
cancel a house keeper for a pool.
|
protected static org.logicalcobwebs.proxool.HouseKeeper |
getHouseKeeperToRun()
Get the next house keeper that needs to be run
|
protected static void |
register(org.logicalcobwebs.proxool.ConnectionPool connectionPool)
Schedule a regular triggerSweep
|
protected static void |
shutdown()
Stop all house keeper threads.
|
protected static void |
sweepNow(java.lang.String alias) |
protected static org.logicalcobwebs.proxool.HouseKeeper getHouseKeeperToRun()
protected static void sweepNow(java.lang.String alias)
protected static void register(org.logicalcobwebs.proxool.ConnectionPool connectionPool)
connectionPool
- identifies the poolprotected static void shutdown()
protected static void cancel(java.lang.String alias) throws ProxoolException
alias
- identifies the poolProxoolException
- if we couldn't find the house keeper (if it had
already been cancelled for instance).