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)
IStrategy
initialize prior to scheduling
public SchedulingResult schedule(TopologyDetails td)
IStrategy
This method is invoked to calcuate a scheduling for topology td
schedule
in interface IStrategy
public String NodeHostnameToId(String hostname)
hostname to Id
hostname
- the hostname to convert to node idCopyright © 2022 The Apache Software Foundation. All Rights Reserved.