Openwings API Documentation (v1.0)

net.openwings.container.utilities
Class LoadBalancerAssignment

java.lang.Object
  |
  +--net.openwings.container.utilities.LoadBalancerAssignment
All Implemented Interfaces:
java.io.Serializable

public class LoadBalancerAssignment
extends java.lang.Object
implements java.io.Serializable

This class describes an assignment of a MobileProcess to a new container. The LoadBalancer plug-in constructs LoadBalancerAssignment objects to return from methods on the LoadBalancer interface.

Since:
0.9.1
See Also:
Serialized Form

Constructor Summary
LoadBalancerAssignment(UniqueID processID, UniqueID oldContainerID, UniqueID newContainerID)
          This is the single public constructor for this class.
 
Method Summary
 UniqueID getNewContainerID()
          This method returns the unique identifier for the new container.
 UniqueID getOldContainerID()
          This method returns the unique identifier for the old container.
 UniqueID getProcessID()
          This method returns the unique identifier for the process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadBalancerAssignment

public LoadBalancerAssignment(UniqueID processID,
                              UniqueID oldContainerID,
                              UniqueID newContainerID)
This is the single public constructor for this class.

Parameters:
processID - unique identifier for the process
oldContainerID - unique identifier for the old container
newContainerID - unique identifier for the new container
Method Detail

getProcessID

public UniqueID getProcessID()
This method returns the unique identifier for the process.

Returns:
unique identifier for the process

getOldContainerID

public UniqueID getOldContainerID()
This method returns the unique identifier for the old container.

Returns:
unique identifier for the old container

getNewContainerID

public UniqueID getNewContainerID()
This method returns the unique identifier for the new container.

Returns:
unique identifier for the new container

Openwings API Documentation (v1.0)