public abstract class FirstFitDecreased extends AbstractScheduler
Scheduler.ComputingResult, Scheduler.SchedulerResult
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<XHost> |
hostsToCheck |
protected java.util.Queue<scheduling.centralized.ffd.Migration> |
migrations |
protected int |
nMigrations |
protected boolean |
useLoad |
id, planGraphDepth, rpAborted
Constructor and Description |
---|
FirstFitDecreased(java.util.Collection<XHost> hosts) |
FirstFitDecreased(java.util.Collection<XHost> hosts,
java.lang.Integer id) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyReconfigurationPlan()
Applies the reconfiguration plan from source model to dest model.
|
Scheduler.ComputingResult |
computeReconfigurationPlan() |
protected abstract void |
manageOverloadedHost(java.util.List<XHost> overloadedHosts,
Scheduler.ComputingResult result) |
checkAndReconfigure, getMigratingVMs, ongoingMigrations, relocateVM
protected int nMigrations
protected boolean useLoad
protected java.util.Collection<XHost> hostsToCheck
protected java.util.Queue<scheduling.centralized.ffd.Migration> migrations
public FirstFitDecreased(java.util.Collection<XHost> hosts)
public FirstFitDecreased(java.util.Collection<XHost> hosts, java.lang.Integer id)
protected void applyReconfigurationPlan()
AbstractScheduler
applyReconfigurationPlan
in class AbstractScheduler
public Scheduler.ComputingResult computeReconfigurationPlan()
protected abstract void manageOverloadedHost(java.util.List<XHost> overloadedHosts, Scheduler.ComputingResult result)