Package dev.webfx.platform.scheduler.spi
Class SchedulerProviderBase.ScheduledBase
java.lang.Object
dev.webfx.platform.scheduler.spi.SchedulerProviderBase.ScheduledBase
- All Implemented Interfaces:
Cancellable
,Scheduled
- Direct Known Subclasses:
UiSchedulerProviderBase.AnimationScheduled
- Enclosing class:
SchedulerProviderBase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
wrappedRunnable
-
-
Constructor Details
-
ScheduledBase
-
-
Method Details
-
isPeriodic
public boolean isPeriodic()- Specified by:
isPeriodic
in interfaceScheduled
-
isDeferred
public boolean isDeferred()- Specified by:
isDeferred
in interfaceScheduled
-
isBackground
public boolean isBackground()- Specified by:
isBackground
in interfaceScheduled
-
isIdle
public boolean isIdle() -
isStarted
public boolean isStarted() -
isFinished
public boolean isFinished()- Specified by:
isFinished
in interfaceScheduled
-
isPending
public boolean isPending() -
isRunning
public boolean isRunning() -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceScheduled
-
cancel
public boolean cancel()Description copied from interface:Cancellable
Cancel the scheduled task. Returns true if the task was successfully cancelled.- Specified by:
cancel
in interfaceCancellable
-
cancelImpl
protected boolean cancelImpl()
-