Interface INodeSorter
-
- All Known Implementing Classes:
NodeSorter
,NodeSorterHostProximity
public interface INodeSorter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<ObjectResourcesItem>
getSortedRacks()
void
prepare(ExecutorDetails exec)
Prepare for node sorting.Iterable<String>
sortAllNodes()
-
-
-
Method Detail
-
prepare
void prepare(ExecutorDetails exec)
Prepare for node sorting. This method must be called beforegetSortedRacks()
andsortAllNodes()
.- Parameters:
exec
- optional, may be null.
-
getSortedRacks
Iterable<ObjectResourcesItem> getSortedRacks()
-
-