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 DefaultSchedulingPriorityStrategypublic List<TopologyDetails> getOrderedTopologies(ISchedulingState cluster, Map<String,User> userMap)
ISchedulingPriorityStrategyPrioritize the list of all topologies in the cluster.
getOrderedTopologies in interface ISchedulingPriorityStrategygetOrderedTopologies in class DefaultSchedulingPriorityStrategyCopyright © 2021 The Apache Software Foundation. All rights reserved.