public class ShufflePolicy extends Object implements SelectionPolicy
Constructor and Description |
---|
ShufflePolicy() |
Modifier and Type | Method and Description |
---|---|
List<RMNode> |
arrangeNodes(int number,
List<RMNode> nodes,
Client client)
Do shuffling here.
|
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