Interface SchedulingAlgorithm
-
- All Known Implementing Classes:
GenericSchedulingAlgorithm
public interface SchedulingAlgorithmThe 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 ScheduleResultschedule(uk.co.ractf.polaris.api.task.Task task)Schedule aTaskonto the cluster
-
-
-
Method Detail
-
schedule
ScheduleResult schedule(uk.co.ractf.polaris.api.task.Task task)
Schedule aTaskonto the cluster- Parameters:
task- the task to schedule- Returns:
- the node to run the task on
-
-