Package com.google.gerrit.server.git
Interface WorkQueue.CanceledWhileRunning
- All Superinterfaces:
- Runnable,- WorkQueue.CancelableRunnable
- Enclosing class:
- WorkQueue
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 SummaryModifier and TypeMethodDescriptionvoidNotifies the runnable it was canceled during execution.Methods inherited from interface com.google.gerrit.server.git.WorkQueue.CancelableRunnablecancel
- 
Method Details- 
setCanceledWhileRunningvoid setCanceledWhileRunning()Notifies the runnable it was canceled during execution. *
 
-