uk.ac.essex.common.util
Class ThreadPool

java.lang.Object
  extended by uk.ac.essex.common.util.ThreadPool

public class ThreadPool
extends java.lang.Object

Title: ImageApp Description: Copyright: Copyright (c) 2001 Company:


Constructor Summary
ThreadPool(int numberOfThreads)
           
 
Method Summary
 void execute(java.lang.Runnable target)
           
 void stopRequestAllWorkers()
           
 void stopRequestIdleWorkers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPool

public ThreadPool(int numberOfThreads)
Method Detail

execute

public void execute(java.lang.Runnable target)
             throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

stopRequestIdleWorkers

public void stopRequestIdleWorkers()

stopRequestAllWorkers

public void stopRequestAllWorkers()