Interface Scheduler.ScheduledTask
- Enclosing interface:
Scheduler
public static interface Scheduler.ScheduledTask
-
Method Summary
Modifier and TypeMethodDescriptionvoidcancel(boolean mayInterruptIfRunning) Cancels the scheduled registration.
-
Method Details
-
cancel
void cancel(boolean mayInterruptIfRunning) Cancels the scheduled registration.- Parameters:
mayInterruptIfRunning-trueif the thread executing this task should be interrupted; otherwise, in-progress tasks are allowed to complete
-