Package org.elasticsearch.threadpool
Interface Scheduler.Cancellable
-
- All Known Subinterfaces:
Scheduler.ScheduledCancellable
- All Known Implementing Classes:
Scheduler.ReschedulingRunnable
- Enclosing interface:
- Scheduler
public static interface Scheduler.CancellableThis interface represents an object whose execution may be cancelled during runtime.
-
-
Method Summary
Modifier and Type Method Description booleancancel()Cancel the execution of this object.booleanisCancelled()Check if the execution has been cancelled
-