Interface TaskScheduler.Task
- Enclosing class:
- TaskScheduler
public static interface TaskScheduler.Task
-
Method Details
-
run
Executes the task- Returns:
- a
TaskScheduler.TaskScheduleto describe the next task that should be scheduled ornull, if no further tasks should be scheduled.
-
isReady
default boolean isReady()- Returns:
- true, if the task is ready for execution.
-