Public Member Functions | |
| String | selectContainer (ClientInfo requestor, ContainerInfo[] containers) |
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?).
| String com::cosylab::acs::maci::loadbalancing::LoadBalancingStrategy::selectContainer | ( | ClientInfo | requestor, | |
| ContainerInfo[] | containers | |||
| ) |
Select the most appropriate (i.e. the least loaded) container.
| requestor | client (or component) requiring component. | |
| containers | all registered containers, can be null when no containers are logged in. |
null if failed. Referenced by com::cosylab::acs::maci::manager::ManagerImpl::internalRequestDynamicComponent().
1.6.2