Class GenericResourceAwareSchedulingPriorityStrategy
java.lang.Object
org.apache.storm.scheduler.resource.strategies.priority.DefaultSchedulingPriorityStrategy
org.apache.storm.scheduler.resource.strategies.priority.GenericResourceAwareSchedulingPriorityStrategy
- All Implemented Interfaces:
- ISchedulingPriorityStrategy
public class GenericResourceAwareSchedulingPriorityStrategy
extends DefaultSchedulingPriorityStrategy
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classNested classes/interfaces inherited from class org.apache.storm.scheduler.resource.strategies.priority.DefaultSchedulingPriorityStrategyDefaultSchedulingPriorityStrategy.SimulatedUser
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetOrderedTopologies(ISchedulingState cluster, Map<String, User> userMap) Prioritize the list of all topologies in the cluster.getSimulatedUserFor(User u, ISchedulingState cluster) 
- 
Constructor Details- 
GenericResourceAwareSchedulingPriorityStrategypublic GenericResourceAwareSchedulingPriorityStrategy()
 
- 
- 
Method Details- 
getSimulatedUserForprotected GenericResourceAwareSchedulingPriorityStrategy.GrasSimulatedUser getSimulatedUserFor(User u, ISchedulingState cluster) - Overrides:
- getSimulatedUserForin class- DefaultSchedulingPriorityStrategy
 
- 
getOrderedTopologiespublic List<TopologyDetails> getOrderedTopologies(ISchedulingState cluster, Map<String, User> userMap) Description copied from interface:ISchedulingPriorityStrategyPrioritize the list of all topologies in the cluster.- Specified by:
- getOrderedTopologiesin interface- ISchedulingPriorityStrategy
- Overrides:
- getOrderedTopologiesin class- DefaultSchedulingPriorityStrategy
- Returns:
- ordered list of topologies to schedule.
 
 
-