Openwings API Documentation (v1.1)

net.openwings.container.utilities
Class LoadBalancerProcessInfo

java.lang.Object
  extended bynet.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()
          Default Constructor
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.
 void setPerformanceReports(PerformanceReport[] reports)
          This method sets the performance reports for the process.
 void setProcessID(UniqueID processID)
          This method sets 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()
Default Constructor


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

setProcessID

public void setProcessID(UniqueID processID)
This method sets the unique identifier for the process.

Parameters:
processID - 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

setPerformanceReports

public void setPerformanceReports(PerformanceReport[] reports)
This method sets the performance reports for the process.

Parameters:
reports - array of performance reports for the process

Openwings API Documentation (v1.1)