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