|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface describes a plug-in that makes load balancing decisions
for a container manager. The Container Manager core uses a
LoadBalancer plugin to assign new processes to containers
and to decide which processes to move between containers.
The Container Manager passes information about some or all of its
containers, and all of the MobileProcess in each of these
containers.
| Method Summary | |
UniqueID |
assignProcess(ComponentDescriptor descriptor,
LoadBalancerContainerInfo[] containerInfoList)
This method allocates a process to a container. |
LoadBalancerAssignment[] |
balanceLoad(LoadBalancerContainerInfo[] containerInfoList)
This method generates instructions for balancing the load between containers. |
| Method Detail |
public UniqueID assignProcess(ComponentDescriptor descriptor,
LoadBalancerContainerInfo[] containerInfoList)
descriptor - process to be allocated
null
if the existing containers are too full. In this case the
ContainerManager should start a new container.public LoadBalancerAssignment[] balanceLoad(LoadBalancerContainerInfo[] containerInfoList)
PerformanceReports for a container or process, or
some combination of the above.
|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||