org.inria.myriads.snoozenode.groupmanager.managerpolicies.relocation.impl
Class GreedyOverloadRelocation

java.lang.Object
  extended by org.inria.myriads.snoozenode.groupmanager.managerpolicies.relocation.impl.GreedyOverloadRelocation
All Implemented Interfaces:
VirtualMachineRelocation

public final class GreedyOverloadRelocation
extends Object
implements VirtualMachineRelocation

Moderate loaded server relocation policy.

Author:
Eugen Feller

Constructor Summary
GreedyOverloadRelocation(ResourceDemandEstimator estimator)
          Constructor.
 
Method Summary
 MigrationPlan relocateVirtualMachines(org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription sourceLocalController, List<org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription> destinationLocalControllers)
          Computes a migration plan to relocates virtual machines.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GreedyOverloadRelocation

public GreedyOverloadRelocation(ResourceDemandEstimator estimator)
Constructor.

Parameters:
estimator - The resource demand estimator
Method Detail

relocateVirtualMachines

public MigrationPlan relocateVirtualMachines(org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription sourceLocalController,
                                             List<org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription> destinationLocalControllers)
Computes a migration plan to relocates virtual machines.

Specified by:
relocateVirtualMachines in interface VirtualMachineRelocation
Parameters:
sourceLocalController - The source local controller description
destinationLocalControllers - The destination local controller candidates
Returns:
The migration plan


Copyright © 2012. All Rights Reserved.