All Known Implementing Classes:
ExecSorterByConnectionCount, ExecSorterByConstraintSeverity, ExecSorterByProximity

public interface IExecSorter
  • Method Summary

    Modifier and Type
    Method
    Description
    Sort the supplied unique collection of ExecutorDetails in the order in which they should be scheduled.
  • Method Details

    • 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.