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

java.lang.Object
  extended by org.smallmind.seda.HomeostaticRegulator<I,O>
All Implemented Interfaces:
Runnable

public class HomeostaticRegulator<I extends Event,O extends Event>
extends Object
implements Runnable


Constructor Summary
HomeostaticRegulator(ThreadPool<I,O> threadPool, DurationMonitor durationMonitor, LinkedList<EventProcessor<I,O>> processorList, SedaConfiguration sedaConfiguration)
           
 
Method Summary
 boolean isRunning()
           
 void run()
           
protected  void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomeostaticRegulator

public HomeostaticRegulator(ThreadPool<I,O> threadPool,
                            DurationMonitor durationMonitor,
                            LinkedList<EventProcessor<I,O>> processorList,
                            SedaConfiguration sedaConfiguration)
Method Detail

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.