jrun.jms.core.threads
Class ThreadPool

java.lang.Object
  |
  +--jrun.jms.core.threads.ThreadPool

public class ThreadPool
extends java.lang.Object


Field Summary
static int MIN_POOL_SIZE
           
 
Method Summary
 void execute(java.lang.Runnable task)
           
 boolean hasFreeWorkersAvailable()
           
 void stopAllWorkers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_POOL_SIZE

public static final int MIN_POOL_SIZE
Method Detail

execute

public void execute(java.lang.Runnable task)
             throws java.lang.InterruptedException

stopAllWorkers

public void stopAllWorkers()

hasFreeWorkersAvailable

public boolean hasFreeWorkersAvailable()


Copyright � 2002 Macromedia Corporation. All Rights Reserved.