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 Detail

      • schedule

        ScheduleResult schedule​(uk.co.ractf.polaris.api.task.Task task)
        Schedule a Task onto the cluster
        Parameters:
        task - the task to schedule
        Returns:
        the node to run the task on