public interface ITaskPlanner
ITaskPlanner provides an interface to program your own task planning. It gives
you operations for pick a task from the queue according on the criteria that
you designed.
The simplest implementation of ITaskPlanner would be a FIFO task planner (see FIFOTaskPlanner.java) which takes jobs from a task queue in the same order they were put. But any kind of planner is possible (SJF, LIFO, RoundRobin, etc.).
Modifier and Type | Method and Description |
---|---|
IRunnableTask |
nextTask()
Takes the next task to be executed.
|
IRunnableTask |
previousTask()
Deprecated.
(probably this is unuseful and i'll remove it)
|
IRunnableTask nextTask()
IRunnableTask previousTask()