org.inria.myriads.snoozenode.groupmanager.managerpolicies.relocation.impl
public final class GreedyUnderloadRelocation extends Object implements VirtualMachineRelocation
Constructor and Description |
---|
GreedyUnderloadRelocation(ResourceDemandEstimator estimator)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ReconfigurationPlan |
relocateVirtualMachines(org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription sourceLocalController,
List<org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription> destinationLocalControllers)
Relocates virtual machines.
|
public GreedyUnderloadRelocation(ResourceDemandEstimator estimator)
estimator
- The resource demand estimatorpublic ReconfigurationPlan relocateVirtualMachines(org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription sourceLocalController, List<org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription> destinationLocalControllers)
relocateVirtualMachines
in interface VirtualMachineRelocation
sourceLocalController
- The source local controller descriptiondestinationLocalControllers
- The destination local controller candidatesCopyright © 2013. All Rights Reserved.