Interface Scheduled

All Known Implementing Classes:
ScheduledFutureImpl

public interface Scheduled
Scheduled task.
Author:
Jordan Halterman
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cancels the scheduled task.
    boolean
    Returns whether this scheduled entity was already completed or not, regardless of if it was cancelled or successfully executed.
  • Method Details

    • cancel

      void cancel()
      Cancels the scheduled task.
    • isDone

      boolean isDone()
      Returns whether this scheduled entity was already completed or not, regardless of if it was cancelled or successfully executed.
      Returns:
      true if already completed, false otherwise