org.smallmind.seda
Class ThreadPool<I extends Event,O extends Event>

java.lang.Object
  extended by org.smallmind.seda.ThreadPool<I,O>

public class ThreadPool<I extends Event,O extends Event>
extends Object


Constructor Summary
ThreadPool(EventQueue<I> eventQueue, SedaConfiguration sedaConfiguration)
           
 
Method Summary
protected  void decrease()
           
protected  void increase()
           
 boolean isRunning()
           
protected  void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPool

public ThreadPool(EventQueue<I> eventQueue,
                  SedaConfiguration sedaConfiguration)
Method Detail

isRunning

public boolean isRunning()

increase

protected void increase()

decrease

protected void decrease()

stop

protected void stop()
             throws InterruptedException
Throws:
InterruptedException


Copyright © 2011. All Rights Reserved.