|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.thread.DeterministicTaskRunner
public class DeterministicTaskRunner
Constructor Summary | |
---|---|
DeterministicTaskRunner(java.util.concurrent.Executor executor,
Task task)
Constructor |
Method Summary | |
---|---|
void |
shutdown()
|
void |
shutdown(long timeout)
shut down the task |
void |
wakeup()
We Expect MANY wakeup calls on the same TaskRunner - but each needs to run |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeterministicTaskRunner(java.util.concurrent.Executor executor, Task task)
executor
- task
- Method Detail |
---|
public void wakeup() throws java.lang.InterruptedException
wakeup
in interface TaskRunner
java.lang.InterruptedException
public void shutdown(long timeout) throws java.lang.InterruptedException
shutdown
in interface TaskRunner
java.lang.InterruptedException
public void shutdown() throws java.lang.InterruptedException
shutdown
in interface TaskRunner
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |