org.smallmind.seda
Class HomeostaticRegulator<I extends Event,O extends Event>
java.lang.Object
org.smallmind.seda.HomeostaticRegulator<I,O>
- All Implemented Interfaces:
- Runnable
public class HomeostaticRegulator<I extends Event,O extends Event>
- extends Object
- implements Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HomeostaticRegulator
public HomeostaticRegulator(ThreadPool<I,O> threadPool,
DurationMonitor durationMonitor,
LinkedList<EventProcessor<I,O>> processorList,
SedaConfiguration sedaConfiguration)
isRunning
public boolean isRunning()
stop
protected void stop()
throws InterruptedException
- Throws:
InterruptedException
run
public void run()
- Specified by:
run in interface Runnable
Copyright © 2011. All Rights Reserved.