edu.rice.cs.plt.concurrent
Class IncrementalTaskController.FreshPausingState

java.lang.Object
  extended by edu.rice.cs.plt.concurrent.TaskController.State
      extended by edu.rice.cs.plt.concurrent.TaskController.ComputingState
          extended by edu.rice.cs.plt.concurrent.IncrementalTaskController.PausingState
              extended by edu.rice.cs.plt.concurrent.IncrementalTaskController.FreshPausingState
Enclosing class:
IncrementalTaskController<I,R>

protected class IncrementalTaskController.FreshPausingState
extends IncrementalTaskController.PausingState

Simple instance of PausingState.


Constructor Summary
protected IncrementalTaskController.FreshPausingState()
           
 
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 edu.rice.cs.plt.concurrent.IncrementalTaskController.PausingState
cancel, status
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncrementalTaskController.FreshPausingState

protected IncrementalTaskController.FreshPausingState()
Method Detail

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