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