Interface Scheduler.ScheduledTask

Enclosing interface:
Scheduler

public static interface Scheduler.ScheduledTask
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cancel(boolean mayInterruptIfRunning)
    Cancels the scheduled registration.
  • Method Details

    • cancel

      void cancel(boolean mayInterruptIfRunning)
      Cancels the scheduled registration.
      Parameters:
      mayInterruptIfRunning - true if the thread executing this task should be interrupted; otherwise, in-progress tasks are allowed to complete