org.inria.myriads.snoozecommon.communication.groupmanager
Class GroupManagerDescription

java.lang.Object
  extended by org.inria.myriads.snoozecommon.communication.groupmanager.GroupManagerDescription
All Implemented Interfaces:
Serializable

public final class GroupManagerDescription
extends Object
implements Serializable

Group manager description.

Author:
Eugen Feller
See Also:
Serialized Form

Constructor Summary
GroupManagerDescription()
          Empty constructor.
GroupManagerDescription(GroupManagerDescription groupManager, int numberOfBacklogEntries)
          Copy constructor.
 
Method Summary
 NetworkAddress getHeartbeatAddress()
          Returns the heartbeat address.
 String getId()
          Returns the identifier.
 ListenSettings getListenSettings()
          Returns the listen settings.
 HashMap<String,LocalControllerDescription> getLocalControllers()
          Returns the local controller descriptions.
 LRUCache<Long,GroupManagerSummaryInformation> getSummaryInformation()
          Returns the group manager summary information.
 ArrayList<VirtualMachineMetaData> getVirtualMachines()
          Returns the virtual machines.
 void setHeartbeatAddress(NetworkAddress heartbeatAddress)
          Sets the heartbeat multicast port.
 void setId(String id)
          Sets the identifier.
 void setListenSettings(ListenSettings listenSettings)
          Returns the listen settings.
 void setLocalControllers(HashMap<String,LocalControllerDescription> localControllers)
          Sets the local controller descriptions.
 void setSummaryInformation(LRUCache<Long,GroupManagerSummaryInformation> summaryInformation)
          Sets the group manager summary information.
 void setVirtualMachines(ArrayList<VirtualMachineMetaData> virtualMachines)
          Sets the virtual machines.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupManagerDescription

public GroupManagerDescription()
Empty constructor.


GroupManagerDescription

public GroupManagerDescription(GroupManagerDescription groupManager,
                               int numberOfBacklogEntries)
Copy constructor.

Parameters:
groupManager - The group manager description
numberOfBacklogEntries - The number of backlog entries
Method Detail

setListenSettings

public void setListenSettings(ListenSettings listenSettings)
Returns the listen settings.

Parameters:
listenSettings - The listen settings

getListenSettings

public ListenSettings getListenSettings()
Returns the listen settings.

Returns:
The listen settings

setHeartbeatAddress

public void setHeartbeatAddress(NetworkAddress heartbeatAddress)
Sets the heartbeat multicast port.

Parameters:
heartbeatAddress - The heartbeat multicast port

getHeartbeatAddress

public NetworkAddress getHeartbeatAddress()
Returns the heartbeat address.

Returns:
The heartbeat address

setId

public void setId(String id)
Sets the identifier.

Parameters:
id - The identifier

getId

public String getId()
Returns the identifier.

Returns:
The id

setSummaryInformation

public void setSummaryInformation(LRUCache<Long,GroupManagerSummaryInformation> summaryInformation)
Sets the group manager summary information.

Parameters:
summaryInformation - The sumamey information

getSummaryInformation

public LRUCache<Long,GroupManagerSummaryInformation> getSummaryInformation()
Returns the group manager summary information.

Returns:
The group manager summary information

setLocalControllers

public void setLocalControllers(HashMap<String,LocalControllerDescription> localControllers)
Sets the local controller descriptions.

Parameters:
localControllers - The local controller descriptions

getLocalControllers

public HashMap<String,LocalControllerDescription> getLocalControllers()
Returns the local controller descriptions.

Returns:
The local controller descriptions

setVirtualMachines

public void setVirtualMachines(ArrayList<VirtualMachineMetaData> virtualMachines)
Sets the virtual machines.

Parameters:
virtualMachines - The virtual machines

getVirtualMachines

public ArrayList<VirtualMachineMetaData> getVirtualMachines()
Returns the virtual machines.

Returns:
The virtual machines


Copyright © 2012. All Rights Reserved.