org.smallmind.seda
Class EventProcessor<I extends Event,O extends Event>
java.lang.Object
org.smallmind.seda.EventProcessor<I,O>
- All Implemented Interfaces:
- Runnable
public class EventProcessor<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 |
EventProcessor
public EventProcessor(EventQueue<I> eventQueue,
DurationMonitor durationMonitor,
SedaConfiguration sedaConfiguration)
getMonitor
protected WorkMonitor getMonitor()
getIdlePercentage
public double getIdlePercentage()
getActivePercentage
public double getActivePercentage()
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.