Package org.logicalcobwebs.proxool
Class PrototyperController
- java.lang.Object
-
- org.logicalcobwebs.proxool.PrototyperController
-
public class PrototyperController extends java.lang.Object
Controls theprototypers
- Since:
- Proxool 0.8
- Version:
- $Revision: 1.10 $, $Date: 2006/01/18 14:40:01 $
- Author:
- bill, $Author: billhorsman $ (current maintainer)
-
-
Constructor Summary
Constructors Constructor Description PrototyperController()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isKeepSweeping()
protected static void
shutdown()
Stop all house keeper threadsstatic void
sweepStarted()
protected static void
triggerSweep(java.lang.String alias)
Trigger prototyping immediately.
-
-
-
Method Detail
-
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
-
-