Interface SchedulingAlgorithm
-
- All Known Implementing Classes:
GenericSchedulingAlgorithm
public interface SchedulingAlgorithm
The scheduler dictates which node(s) will run a given task, the scheduler doesn't control replication, it just gets asked to give a list of nodes to run N instances of the task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScheduleResult
schedule(uk.co.ractf.polaris.api.task.Task task)
Schedule aTask
onto the cluster
-
-
-
Method Detail
-
schedule
ScheduleResult schedule(uk.co.ractf.polaris.api.task.Task task)
Schedule aTask
onto the cluster- Parameters:
task
- the task to schedule- Returns:
- the node to run the task on
-
-