public class PowerVmAllocationPolicyMigrationStaticThreshold extends PowerVmAllocationPolicyMigrationAbstract
| Constructor and Description |
|---|
PowerVmAllocationPolicyMigrationStaticThreshold(java.util.List<? extends Host> hostList,
PowerVmSelectionPolicy vmSelectionPolicy,
double utilizationThreshold)
Instantiates a new power vm allocation policy migration mad.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
getUtilizationThreshold()
Gets the utilization threshold.
|
protected boolean |
isHostOverUtilized(PowerHost host)
Checks if is host over utilized.
|
protected void |
setUtilizationThreshold(double utilizationThreshold)
Sets the utilization threshold.
|
addHistoryEntry, areAllVmsMigratingOutOrAnyVmMigratingIn, extractHostListFromMigrationMap, findHostForVm, findHostForVm, getExecutionTimeHistoryHostSelection, getExecutionTimeHistoryTotal, getExecutionTimeHistoryVmReallocation, getExecutionTimeHistoryVmSelection, getMaxUtilizationAfterAllocation, getMetricHistory, getMigrationMapFromUnderUtilizedHosts, getNewVmPlacement, getNewVmPlacementFromUnderUtilizedHost, getOverUtilizedHosts, getPowerAfterAllocation, getSavedAllocation, getSwitchedOffHosts, getTimeHistory, getUnderUtilizedHost, getUtilizationHistory, getUtilizationOfCpuMips, getVmSelectionPolicy, getVmsToMigrateFromHosts, getVmsToMigrateFromUnderUtilizedHost, isHostOverUtilizedAfterAllocation, optimizeAllocation, printOverUtilizedHosts, restoreAllocation, saveAllocation, setVmSelectionPolicyallocateHostForVm, allocateHostForVm, deallocateHostForVm, getHost, getHost, getVmTablegetHostList, setHostListpublic PowerVmAllocationPolicyMigrationStaticThreshold(java.util.List<? extends Host> hostList, PowerVmSelectionPolicy vmSelectionPolicy, double utilizationThreshold)
hostList - the host listvmSelectionPolicy - the vm selection policyutilizationThreshold - the utilization thresholdprotected boolean isHostOverUtilized(PowerHost host)
isHostOverUtilized in class PowerVmAllocationPolicyMigrationAbstract_host - the _hostprotected void setUtilizationThreshold(double utilizationThreshold)
utilizationThreshold - the new utilization thresholdprotected double getUtilizationThreshold()