Package com.google.gerrit.server.git
Interface WorkQueue.CanceledWhileRunning
- 
- All Superinterfaces:
- Runnable,- WorkQueue.CancelableRunnable
 - Enclosing class:
- WorkQueue
 
 public static interface WorkQueue.CanceledWhileRunning extends WorkQueue.CancelableRunnable Base interface handles the case when task was canceled before actual execution and in case it was started cancel method is not called yet the task itself will be destroyed anyway (it will result in resource opening errors). This interface gives a chance to implementing classes for handling such scenario and act accordingly.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetCanceledWhileRunning()Notifies the runnable it was canceled during execution.- 
Methods inherited from interface com.google.gerrit.server.git.WorkQueue.CancelableRunnablecancel
 
- 
 
-