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.Cancellable
This interface represents an object whose execution may be cancelled during runtime.
-
-
Method Summary
Modifier and Type Method Description boolean
cancel()
Cancel the execution of this object.boolean
isCancelled()
Check if the execution has been cancelled
-