org.logicalcobwebs.proxool
Class PrototyperController
java.lang.Object
org.logicalcobwebs.proxool.PrototyperController
public class PrototyperController
- extends java.lang.Object
Controls the prototypers
- Since:
- Proxool 0.8
- Version:
- $Revision: 1.9 $, $Date: 2004/04/05 22:54:57 $
- Author:
- bill, $Author: billhorsman $ (current maintainer)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final Log LOG
prototyperThread
private static PrototyperThread prototyperThread
keepSweeping
private static boolean keepSweeping
LOCK
private static final java.lang.String LOCK
- See Also:
- Constant Field Values
PrototyperController
public PrototyperController()
startPrototyper
private static void startPrototyper()
triggerSweep
protected static void triggerSweep(java.lang.String alias)
- Trigger prototyping immediately. Runs inside a new Thread so
control returns as quick as possible. You should call this whenever
you suspect that building more connections might be a good idea.
- Parameters:
alias
-
isKeepSweeping
public static boolean isKeepSweeping()
sweepStarted
public static void sweepStarted()
shutdown
protected static void shutdown()
- Stop all house keeper threads