edu.rice.cs.plt.concurrent
Class TaskController.FinishedState

java.lang.Object
  extended by edu.rice.cs.plt.concurrent.TaskController.State
      extended by 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.


Constructor Summary
protected TaskController.FinishedState()
           
 
Method Summary
 boolean cancel(boolean stopRunning)
           
 void start()
           
 TaskController.Status status()
           
 
Methods inherited from class edu.rice.cs.plt.concurrent.TaskController.State
get, get
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskController.FinishedState

protected TaskController.FinishedState()
Method Detail

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