public class NodeSourcePriorityPolicy extends Object implements SelectionPolicy
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_NAME_PROPERTY |
Constructor and Description |
---|
NodeSourcePriorityPolicy() |
Modifier and Type | Method and Description |
---|---|
List<RMNode> |
arrangeNodes(int number,
List<RMNode> nodes,
Client client)
Sort by node source priorities.
|
public static final String CONFIG_NAME_PROPERTY
public List<RMNode> arrangeNodes(int number, List<RMNode> nodes, Client client)
arrangeNodes
in interface SelectionPolicy
number
- of required nodesnodes
- to be sortedclient
- for who the request is performed