Interface SchedulerTask

  • All Superinterfaces:
    java.lang.Runnable

    public interface SchedulerTask
    extends java.lang.Runnable
    A Task that will be notified when it is cancelled.

    Since:
    1.2.0
    • Method Detail

      • cancelled

        void cancelled()
        Called for SchedulerTasks that are successfully canceled via Cancellable.cancel(). Overriding this method allows to for example run some cleanup.