public class DeterministicTaskRunner extends Object implements TaskRunner
Constructor and Description |
---|
DeterministicTaskRunner(Executor executor,
Task task)
Constructor
|
public DeterministicTaskRunner(Executor executor, Task task)
executor
- task
- public void wakeup() throws InterruptedException
wakeup
in interface TaskRunner
InterruptedException
public void shutdown(long timeout) throws InterruptedException
shutdown
in interface TaskRunner
InterruptedException
public void shutdown() throws InterruptedException
shutdown
in interface TaskRunner
InterruptedException
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.