|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgr.uoa.di.madgik.commons.infra.nodeselection.cost.BestNodeSelector
public class BestNodeSelector
| Constructor Summary | |
|---|---|
BestNodeSelector()
|
|
| Method Summary | |
|---|---|
java.util.List<HostingNodeInfo> |
assessNodes(java.util.List<HostingNode> candidates)
Assesses the suitability of the candidate set of nodes without keeping internal memory of node selection. |
void |
markSelected(HostingNode node)
|
HostingNode |
selectNode(java.util.List<HostingNode> candidates)
Selects the most suitable node and marks the selection internally, if necessary |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BestNodeSelector()
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public HostingNode selectNode(java.util.List<HostingNode> candidates)
NodeSelector
selectNode in interface NodeSelectorcandidates - The candidate set of nodes
public java.util.List<HostingNodeInfo> assessNodes(java.util.List<HostingNode> candidates)
NodeSelector
assessNodes in interface NodeSelectorcandidates - The candidate set of nodes
public void markSelected(HostingNode node)
markSelected in interface NodeSelector
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||