org.logicalcobwebs.proxool
Class HouseKeeperController
java.lang.Object
org.logicalcobwebs.proxool.HouseKeeperController
public class HouseKeeperController
extends java.lang.Object
Schedules when to run the house keeper
$Revision: 1.6 $, $Date: 2006/01/18 14:40:01 $- bill
- $Author: billhorsman $ (current maintainer)
protected static void | cancel(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(String alias)
|
cancel
protected static void cancel(String alias)
throws ProxoolException
cancel a house keeper for a pool. This doens't stop the house keeper
thread.
alias
- identifies the pool
ProxoolException
- if we couldn't find the house keeper (if it had
already been cancelled for instance).
getHouseKeeperToRun
protected static org.logicalcobwebs.proxool.HouseKeeper getHouseKeeperToRun()
Get the next house keeper that needs to be run
- the house keeper to run, or null if there is nothing to do.
register
protected static void register(org.logicalcobwebs.proxool.ConnectionPool connectionPool)
Schedule a regular triggerSweep
connectionPool
- identifies the pool
shutdown
protected static void shutdown()
Stop all house keeper threads.
sweepNow
protected static void sweepNow(String alias)