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 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
Copyright © 2005-2017. All Rights Reserved.