Interface Scheduler.Cancellable

    • Method Summary

      Modifier and Type Method Description
      boolean cancel()
      Cancel the execution of this object.
      boolean isCancelled()
      Check if the execution has been cancelled
    • Method Detail

      • cancel

        boolean cancel()
        Cancel the execution of this object. This method is idempotent.
      • isCancelled

        boolean isCancelled()
        Check if the execution has been cancelled
        Returns:
        true if cancelled