edu.rice.cs.plt.concurrent
Class IncrementalTaskController.FreshPausingState
java.lang.Object
edu.rice.cs.plt.concurrent.TaskController.State
edu.rice.cs.plt.concurrent.TaskController.ComputingState
edu.rice.cs.plt.concurrent.IncrementalTaskController.PausingState
edu.rice.cs.plt.concurrent.IncrementalTaskController.FreshPausingState
- Enclosing class:
- IncrementalTaskController<I,R>
protected class IncrementalTaskController.FreshPausingState
- extends IncrementalTaskController.PausingState
Simple instance of PausingState.
|
Method Summary |
R |
get()
|
R |
get(long timeout,
java.util.concurrent.TimeUnit u)
|
void |
paused()
Operation to perform when pausing is complete |
void |
start()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncrementalTaskController.FreshPausingState
protected IncrementalTaskController.FreshPausingState()
start
public void start()
- Specified by:
start in class TaskController.State
get
public R get()
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException
- Overrides:
get in class TaskController.ComputingState
- Throws:
java.lang.InterruptedException
java.util.concurrent.ExecutionException
get
public R get(long timeout,
java.util.concurrent.TimeUnit u)
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException,
java.util.concurrent.TimeoutException
- Overrides:
get in class TaskController.ComputingState
- Throws:
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
paused
public void paused()
- Description copied from class:
IncrementalTaskController.PausingState
- Operation to perform when pausing is complete
- Specified by:
paused in class IncrementalTaskController.PausingState