Public Member Functions

com.cosylab.acs.maci.loadbalancing.LoadBalancingStrategy Interface Reference

List of all members.

Public Member Functions

String selectContainer (ClientInfo requestor, ContainerInfo[] containers)

Detailed Description

Interface defining load balancing strategy. NOTE: this is not a final interface - the implementation should have an option of monitoring containers all the time (simply registering as an adminstrator?).

Author:
Matej Sekoranja
Version:
$id$

Member Function Documentation

String com.cosylab.acs.maci.loadbalancing.LoadBalancingStrategy.selectContainer ( ClientInfo  requestor,
ContainerInfo[]  containers 
)

Select the most appropriate (i.e. the least loaded) container.

Parameters:
requestor client (or component) requiring component.
containers all registered containers, can be null when no containers are logged in.
Returns:
container name, null if failed.

The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties