public class DeterministicTaskRunner extends java.lang.Object implements TaskRunner
| Constructor and Description |
|---|
DeterministicTaskRunner(java.util.concurrent.Executor executor,
Task task)
Constructor
|
public DeterministicTaskRunner(java.util.concurrent.Executor executor, Task task)
executor - task - public void wakeup() throws java.lang.InterruptedException
wakeup in interface TaskRunnerjava.lang.InterruptedExceptionpublic void shutdown(long timeout) throws java.lang.InterruptedException
shutdown in interface TaskRunnerjava.lang.InterruptedExceptionpublic void shutdown() throws java.lang.InterruptedException
shutdown in interface TaskRunnerjava.lang.InterruptedExceptionCopyright © 2005-2012. All Rights Reserved.