Cliser

cliser
Class ThreadManager

java.lang.Object
  |
  +--cliser.ThreadManager

public class ThreadManager
extends java.lang.Object


Field Summary
static int INITIAL_NUM_THREADS
           
static int MAX_NUM_THREADS
           
 
Constructor Summary
ThreadManager(int numThreads, int maxThreads, ServiceThread protoThread)
           
ThreadManager(ServiceThread protoThread)
           
 
Method Summary
 ServiceThread getThread()
           
 void notifyDone(ServiceThread aThread)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INITIAL_NUM_THREADS

public static final int INITIAL_NUM_THREADS

MAX_NUM_THREADS

public static final int MAX_NUM_THREADS
Constructor Detail

ThreadManager

public ThreadManager(ServiceThread protoThread)

ThreadManager

public ThreadManager(int numThreads,
                     int maxThreads,
                     ServiceThread protoThread)
Method Detail

getThread

public ServiceThread getThread()

notifyDone

public void notifyDone(ServiceThread aThread)

Cliser

Cliser is open-source freeware distributed under the GNU Public License.