Interface TaskScheduler
-
- All Implemented Interfaces:
public interface TaskScheduler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTaskScheduler.Callback
-
Method Summary
Modifier and Type Method Description abstract Unitschedule(Collection<ScheduledTask> tasks, TaskScheduler.Callback callback)Schedules given tasks for the give callback -
-
Method Detail
-
schedule
abstract Unit schedule(Collection<ScheduledTask> tasks, TaskScheduler.Callback callback)
Schedules given tasks for the give callback
- Parameters:
tasks- new schedule to apply.callback- callback to call when it's time to execute the task
-
-
-
-