Openwings API Documentation (v1.0)

net.openwings.container.utilities
Class LoadBalancerProcessInfo

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

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

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

Since:
0.9.1
See Also:
Serialized Form

Constructor Summary
LoadBalancerProcessInfo(UniqueID processID, PerformanceReport[] reports)
          This is the single public constructor for this class.
 
Method Summary
 PerformanceReport[] getPerformanceReports()
          This method returns the performance reports for the process.
 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

LoadBalancerProcessInfo

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

Parameters:
processID - unique identifier for the process
reports - array of performance reports for the process
Method Detail

getProcessID

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

Returns:
unique identifier for the process

getPerformanceReports

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

Returns:
array of performance reports for the process

Openwings API Documentation (v1.0)