protected TreeSet<BaseResourceAwareStrategy.ObjectResources> |
BaseResourceAwareStrategy.sortNodes(List<RasNode> availNodes,
ExecutorDetails exec,
TopologyDetails topologyDetails,
String rackId,
Map<String,AtomicInteger> scheduledCount)
Nodes are sorted by two criteria.
|
protected TreeSet<BaseResourceAwareStrategy.ObjectResources> |
DefaultResourceAwareStrategy.sortObjectResources(BaseResourceAwareStrategy.AllResources allResources,
ExecutorDetails exec,
TopologyDetails topologyDetails,
BaseResourceAwareStrategy.ExistingScheduleFunc existingScheduleFunc)
Sort objects by the following two criteria.
|
protected TreeSet<BaseResourceAwareStrategy.ObjectResources> |
ConstraintSolverStrategy.sortObjectResources(BaseResourceAwareStrategy.AllResources allResources,
ExecutorDetails exec,
TopologyDetails topologyDetails,
BaseResourceAwareStrategy.ExistingScheduleFunc existingScheduleFunc) |
protected TreeSet<BaseResourceAwareStrategy.ObjectResources> |
GenericResourceAwareStrategy.sortObjectResources(BaseResourceAwareStrategy.AllResources allResources,
ExecutorDetails exec,
TopologyDetails topologyDetails,
BaseResourceAwareStrategy.ExistingScheduleFunc existingScheduleFunc)
Sort objects by the following two criteria.
|
protected abstract TreeSet<BaseResourceAwareStrategy.ObjectResources> |
BaseResourceAwareStrategy.sortObjectResources(BaseResourceAwareStrategy.AllResources allResources,
ExecutorDetails exec,
TopologyDetails topologyDetails,
BaseResourceAwareStrategy.ExistingScheduleFunc existingScheduleFunc) |
static TreeSet<BaseResourceAwareStrategy.ObjectResources> |
GenericResourceAwareStrategy.sortObjectResourcesImpl(BaseResourceAwareStrategy.AllResources allResources,
ExecutorDetails exec,
TopologyDetails topologyDetails,
BaseResourceAwareStrategy.ExistingScheduleFunc existingScheduleFunc)
Implementation of the sortObjectResources method so other strategies can reuse it.
|