gr.uoa.di.madgik.commons.infra.nodeassignmentpolicy
Interface NodeAssignmentPolicy

All Known Implementing Classes:
LocalOnlyPolicy, MaximumCollocationPolicy, MinimumCollocationPolicy, SingleNodePolicy, SingleRemoteNodePolicy

public interface NodeAssignmentPolicy

Author:
gerasimos.farantatos - DI NKUA

Nested Class Summary
static class NodeAssignmentPolicy.Type
           
 
Method Summary
 NodeAssignmentPolicy.Type getType()
           
 void reset()
           
 HostingNode selectNode(List<HostingNode> candidates)
           
 void setPenalty(float collocationPenalty)
           
 

Method Detail

getType

NodeAssignmentPolicy.Type getType()

setPenalty

void setPenalty(float collocationPenalty)
                throws Exception
Throws:
Exception

selectNode

HostingNode selectNode(List<HostingNode> candidates)
                       throws Exception
Throws:
Exception

reset

void reset()


Copyright © 2012. All Rights Reserved.