Interface IExecSorter
-
- All Known Implementing Classes:
ExecSorterByConnectionCount
,ExecSorterByConstraintSeverity
,ExecSorterByProximity
public interface IExecSorter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ExecutorDetails>
sortExecutors(Set<ExecutorDetails> execs)
Sort the supplied unique collection of ExecutorDetails in the order in which they should be scheduled.
-
-
-
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.
-
-