public class DefaultSchedulingPriorityStrategy extends Object implements ISchedulingPriorityStrategy
Modifier and Type | Class and Description |
---|---|
protected static class |
DefaultSchedulingPriorityStrategy.SimulatedUser |
Constructor and Description |
---|
DefaultSchedulingPriorityStrategy() |
Modifier and Type | Method and Description |
---|---|
List<TopologyDetails> |
getOrderedTopologies(ISchedulingState cluster,
Map<String,User> userMap)
Prioritize the list of all topologies in the cluster.
|
protected DefaultSchedulingPriorityStrategy.SimulatedUser |
getSimulatedUserFor(User u,
ISchedulingState cluster) |
protected DefaultSchedulingPriorityStrategy.SimulatedUser getSimulatedUserFor(User u, ISchedulingState cluster)
public List<TopologyDetails> getOrderedTopologies(ISchedulingState cluster, Map<String,User> userMap)
ISchedulingPriorityStrategy
Prioritize the list of all topologies in the cluster.
getOrderedTopologies
in interface ISchedulingPriorityStrategy
Copyright © 2019 The Apache Software Foundation. All rights reserved.