| Constructor and Description | 
|---|
| DefaultResourceAwareStrategy() | 
| Modifier and Type | Method and Description | 
|---|---|
| RAS_Node | idToNode(String id)Find RAS_Node for specified node id | 
| String | NodeHostnameToId(String hostname)hostname to Id | 
| void | prepare(SchedulingState schedulingState)initialize prior to scheduling | 
| SchedulingResult | schedule(TopologyDetails td)This method is invoked to calcuate a scheduling for topology td | 
public void prepare(SchedulingState schedulingState)
IStrategyinitialize prior to scheduling
public SchedulingResult schedule(TopologyDetails td)
IStrategyThis method is invoked to calcuate a scheduling for topology td
schedule in interface IStrategypublic String NodeHostnameToId(String hostname)
hostname to Id
hostname - the hostname to convert to node idCopyright © 2022 The Apache Software Foundation. All Rights Reserved.