edu.rice.cs.plt.concurrent
Class TaskController.FinishedState
java.lang.Object
edu.rice.cs.plt.concurrent.TaskController.State
edu.rice.cs.plt.concurrent.TaskController.FinishedState
- Direct Known Subclasses:
- TaskController.CleanlyFinishedState, TaskController.ExecutionExceptionState, TaskController.InternalExceptionState
- Enclosing class:
- TaskController<R>
protected abstract class TaskController.FinishedState
- extends TaskController.State
Any state for a task that has finished.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskController.FinishedState
protected TaskController.FinishedState()
status
public TaskController.Status status()
- Specified by:
status in class TaskController.State
start
public void start()
- Specified by:
start in class TaskController.State
cancel
public boolean cancel(boolean stopRunning)
- Specified by:
cancel in class TaskController.State