Package org.apache.activemq.thread
Class DeterministicTaskRunner
java.lang.Object
org.apache.activemq.thread.DeterministicTaskRunner
- All Implemented Interfaces:
TaskRunner
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DeterministicTaskRunner
Constructor- Parameters:
executor
-task
-
-
-
Method Details
-
wakeup
We Expect MANY wakeup calls on the same TaskRunner - but each needs to run- Specified by:
wakeup
in interfaceTaskRunner
- Throws:
InterruptedException
-
shutdown
shut down the task- Specified by:
shutdown
in interfaceTaskRunner
- Throws:
InterruptedException
-
shutdown
- Specified by:
shutdown
in interfaceTaskRunner
- Throws:
InterruptedException
-