Openwings API Documentation (v1.0)

net.openwings.container.utilities
Class LoadBalancerContainerInfo

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

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

This class contains the information about a Container that a plug-in LoadBalancer uses to make load balancing decisions for a container manager. The Container Manager core constructs LoadBalancerContainerInfo objects to pass to methods on the LoadBalancer interface.

Since:
0.9.1
See Also:
Serialized Form

Constructor Summary
LoadBalancerContainerInfo(UniqueID containerID, LoadBalancerProcessInfo[] processInfoList, PerformanceReport[] reports)
          This is the single public constructor for this class.
 
Method Summary
 UniqueID getContainerID()
          This method returns the unique identifier for the container.
 LoadBalancerProcessInfo[] getLoadBalancerProcessInfoList()
          This method returns information about the mobile processes in the container.
 PerformanceReport[] getPerformanceReports()
          This method returns the performance reports for the container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadBalancerContainerInfo

public LoadBalancerContainerInfo(UniqueID containerID,
                                 LoadBalancerProcessInfo[] processInfoList,
                                 PerformanceReport[] reports)
This is the single public constructor for this class.

Parameters:
containerID - unique identifier for the container
processInfoList - array of objects describing the set of MobileProcesses in the container
reports - array of performance reports for the container
Method Detail

getContainerID

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

Returns:
unique identifier for the container

getLoadBalancerProcessInfoList

public LoadBalancerProcessInfo[] getLoadBalancerProcessInfoList()
This method returns information about the mobile processes in the container.

Returns:
array of objects describing the set of MobileProcesses in the container

getPerformanceReports

public PerformanceReport[] getPerformanceReports()
This method returns the performance reports for the container.

Returns:
array of performance reports for the container

Openwings API Documentation (v1.0)