org.logicalcobwebs.proxool
Class PrototyperController

java.lang.Object
  extended by org.logicalcobwebs.proxool.PrototyperController

public class PrototyperController
extends java.lang.Object

Controls the prototypers

Since:
Proxool 0.8
Version:
$Revision: 1.10 $, $Date: 2006/01/18 14:40:01 $
Author:
bill, $Author: billhorsman $ (current maintainer)

Constructor Summary
PrototyperController()
           
 
Method Summary
static boolean isKeepSweeping()
           
protected static void shutdown()
          Stop all house keeper threads
static void sweepStarted()
           
protected static void triggerSweep(java.lang.String alias)
          Trigger prototyping immediately.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrototyperController

public PrototyperController()
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