org.smallmind.seda
Class ThreadPool<I extends Event,O extends Event>
java.lang.Object
org.smallmind.seda.ThreadPool<I,O>
public class ThreadPool<I extends Event,O extends Event>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadPool
public ThreadPool(EventQueue<I> eventQueue,
SedaConfiguration sedaConfiguration)
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.