Package io.atomix.utils.concurrent
Interface Scheduled
- All Known Implementing Classes:
ScheduledFutureImpl
public interface Scheduled
Scheduled task.
- Author:
- Jordan Halterman
-
Method Summary
-
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
-