org.inria.myriads.snoozenode.groupmanager.managerpolicies.relocation.impl
Class GreedyUnderloadRelocation
java.lang.Object
org.inria.myriads.snoozenode.groupmanager.managerpolicies.relocation.impl.GreedyUnderloadRelocation
- All Implemented Interfaces:
- VirtualMachineRelocation
public final class GreedyUnderloadRelocation
- extends Object
- implements VirtualMachineRelocation
Most loaded server relocation policy.
- Author:
- Eugen Feller
Method Summary |
MigrationPlan |
relocateVirtualMachines(org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription sourceLocalController,
List<org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription> destinationLocalControllers)
Relocates virtual machines. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GreedyUnderloadRelocation
public GreedyUnderloadRelocation(ResourceDemandEstimator estimator)
- Constructor.
- Parameters:
estimator
- The resource demand estimator
relocateVirtualMachines
public MigrationPlan relocateVirtualMachines(org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription sourceLocalController,
List<org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription> destinationLocalControllers)
- Relocates virtual machines.
- Specified by:
relocateVirtualMachines
in interface VirtualMachineRelocation
- Parameters:
sourceLocalController
- The source local controller descriptiondestinationLocalControllers
- The destination local controller candidates
- Returns:
- The migration plan
Copyright © 2012. All Rights Reserved.