Package io.atomix.utils.concurrent
Class ScheduledFutureImpl<T>
java.lang.Object
io.atomix.utils.concurrent.ScheduledFutureImpl<T>
- All Implemented Interfaces:
Scheduled
Simple wrapper class that delegates to a non-interruptible future
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ScheduledFutureImpl
-
-
Method Details
-
cancel
public void cancel()Description copied from interface:ScheduledCancels the scheduled task. -
isDone
public boolean isDone()Description copied from interface:ScheduledReturns whether this scheduled entity was already completed or not, regardless of if it was cancelled or successfully executed.
-