|
|||||||||
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.LocalOnlyPolicy
public class LocalOnlyPolicy
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface gr.uoa.di.madgik.commons.infra.collocationpolicy.CollocationPolicy |
---|
CollocationPolicy.Type |
Constructor Summary | |
---|---|
LocalOnlyPolicy()
|
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 LocalOnlyPolicy()
Method Detail |
---|
public CollocationPolicy.Type getType()
getType
in interface CollocationPolicy
public void setPenalty(float collocationPenalty) throws java.lang.Exception
setPenalty
in interface CollocationPolicy
java.lang.Exception
public HostingNode selectNode(java.util.List<HostingNode> candidates) throws java.lang.Exception
selectNode
in interface CollocationPolicy
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |