org.inria.myriads.snoozenode.configurator.node
Class NodeSettings

java.lang.Object
  extended by org.inria.myriads.snoozenode.configurator.node.NodeSettings

public final class NodeSettings
extends Object

Node settings.

Author:
Eugen Feller

Constructor Summary
NodeSettings()
          Empty constructor.
 
Method Summary
 org.inria.myriads.snoozecommon.communication.virtualcluster.monitoring.NetworkDemand getNetworkCapacity()
          Returns the node network capacity.
 org.inria.myriads.snoozecommon.communication.NodeRole getRole()
          Returns the node role.
 void setNetworkCapacity(org.inria.myriads.snoozecommon.communication.virtualcluster.monitoring.NetworkDemand networkCapacity)
          Sets the node network capacity.
 void setRole(org.inria.myriads.snoozecommon.communication.NodeRole role)
          Sets the node role.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeSettings

public NodeSettings()
Empty constructor.

Method Detail

setRole

public void setRole(org.inria.myriads.snoozecommon.communication.NodeRole role)
Sets the node role.

Parameters:
role - The node role

getRole

public org.inria.myriads.snoozecommon.communication.NodeRole getRole()
Returns the node role.

Returns:
The node role

setNetworkCapacity

public void setNetworkCapacity(org.inria.myriads.snoozecommon.communication.virtualcluster.monitoring.NetworkDemand networkCapacity)
Sets the node network capacity.

Parameters:
networkCapacity - The node network capacity

getNetworkCapacity

public org.inria.myriads.snoozecommon.communication.virtualcluster.monitoring.NetworkDemand getNetworkCapacity()
Returns the node network capacity.

Returns:
The network capacity


Copyright © 2012. All Rights Reserved.