Package org.elasticsearch.threadpool
Interface Scheduler.Cancellable
-
- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel()
Cancel the execution of this object.boolean
isCancelled()
Check if the execution has been cancelled
-