|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgr.uoa.di.madgik.commons.infra.collocationpolicy.SingleNodePolicy
public class SingleNodePolicy
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface gr.uoa.di.madgik.commons.infra.collocationpolicy.CollocationPolicy |
|---|
CollocationPolicy.Type |
| Constructor Summary | |
|---|---|
SingleNodePolicy(NodeSelector selector)
|
|
| Method Summary | |
|---|---|
CollocationPolicy.Type |
getType()
|
HostingNode |
selectNode(java.util.List<HostingNode> candidates)
|
void |
setPenalty(float collocationPenalty)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleNodePolicy(NodeSelector selector)
| Method Detail |
|---|
public CollocationPolicy.Type getType()
getType in interface CollocationPolicy
public void setPenalty(float collocationPenalty)
throws java.lang.Exception
setPenalty in interface CollocationPolicyjava.lang.Exception
public HostingNode selectNode(java.util.List<HostingNode> candidates)
throws java.lang.Exception
selectNode in interface CollocationPolicyjava.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||