Interface SchedulingPolicy

    • Method Detail

      • selectExecutor

        ExecutorRepresenter selectExecutor​(Collection<ExecutorRepresenter> executors,
                                           Task task)
        A function to select an executor from the specified collection of available executors.
        executors - The collection of available executors. Implementations can assume that the collection is not empty.
        task - The task to schedule
        The selected executor. It must be a member of executors.