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.
execs- an unmodifiable set of executors that need to be scheduled.
Copyright © 2022 The Apache Software Foundation. All rights reserved.