Package org.apache.activemq.thread
Interface TaskRunner
-
- All Known Implementing Classes:
DeterministicTaskRunner
public interface TaskRunnerAllows you to request a thread execute the associated Task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidshutdown()voidshutdown(long timeout)voidwakeup()
-
-
-
Method Detail
-
wakeup
void wakeup() throws InterruptedException- Throws:
InterruptedException
-
shutdown
void shutdown() throws InterruptedException- Throws:
InterruptedException
-
shutdown
void shutdown(long timeout) throws InterruptedException- Throws:
InterruptedException
-
-