Package com.google.gerrit.server.git
Interface WorkQueue.CancelableRunnable
-
- All Superinterfaces:
Runnable
- All Known Subinterfaces:
WorkQueue.CanceledWhileRunning
- Enclosing class:
- WorkQueue
public static interface WorkQueue.CancelableRunnable extends Runnable
Runnable needing to know it was canceled. Note that cancel is called only in case the task is not in progress already.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel()
Notifies the runnable it was canceled.
-