pygmy.core
Class ThreadPool

java.lang.Object
  extended by pygmy.core.ThreadPool

public class ThreadPool
extends java.lang.Object


Nested Class Summary
protected  class ThreadPool.PooledThread
           
 
Constructor Summary
ThreadPool(int numberOfThreads)
           
 
Method Summary
 void execute(java.lang.Runnable runnable)
           
 void shutdown()
           
 
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 runnable)

shutdown

public void shutdown()