Interface IExecSorter

    • Method Detail

      • sortExecutors

        List<ExecutorDetails> sortExecutors​(Set<ExecutorDetails> execs)
        Sort the supplied unique collection of ExecutorDetails in the order in which they should be scheduled. Both the input and output collections contain the same number of unique ExecutorDetails.
        Parameters:
        execs - an unmodifiable set of executors that need to be scheduled.
        Returns:
        a list of executors in sorted order for scheduling.