-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancancel()Cancels the task to prevent it from executing.booleancue()Schedules the task to execute as a sequential process.booleanisCued()Returnstrueif the task is currently scheduled for execution.Stagestage()Returns the executionStageto which the task is bound.
-
-
-
Method Detail
-
stage
Stage stage()
Returns the executionStageto which the task is bound.
-
isCued
boolean isCued()
Returnstrueif the task is currently scheduled for execution.
-
cue
boolean cue()
Schedules the task to execute as a sequential process. Returnstrueif this operation caused the scheduling of the task; returnsfalseif the task was already scheduled to execute.Task.runTask()will be concurrently invoked exactly once for each timecue()returnstrue, minus the number of timescancel()returnstrue. The task becomes uncued prior to the the invocation ofrunTask(), enabling the task to re-cue itself while running.
-
-