Uses of Interface
org.cloudbus.cloudsim.selectionpolicies.VmSelectionPolicy
Package
Description
Provides
VmAllocationPolicy
implementations
that enables VM migration.Provides
VmSelectionPolicy
implementations that define policies to be used by a Host
to select a Vm
to migrate from a list of VMs.-
Uses of VmSelectionPolicy in org.cloudbus.cloudsim.allocationpolicies.migration
Modifier and TypeMethodDescriptionVmAllocationPolicyMigration.getVmSelectionPolicy()
Gets the the policy that defines how VMs are selected for migration.VmAllocationPolicyMigrationAbstract.getVmSelectionPolicy()
Modifier and TypeMethodDescriptionvoid
VmAllocationPolicyMigration.setVmSelectionPolicy
(VmSelectionPolicy vmSelectionPolicy) Sets the the policy that defines how VMs are selected for migration.final void
VmAllocationPolicyMigrationAbstract.setVmSelectionPolicy
(VmSelectionPolicy vmSelectionPolicy) ModifierConstructorDescriptionVmAllocationPolicyMigrationAbstract
(VmSelectionPolicy vmSelectionPolicy) Creates a VmAllocationPolicy.VmAllocationPolicyMigrationAbstract
(VmSelectionPolicy vmSelectionPolicy, BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Creates a new VmAllocationPolicy, changing theFunction
to select a Host for a Vm.VmAllocationPolicyMigrationBestFitStaticThreshold
(VmSelectionPolicy vmSelectionPolicy) Creates a VmAllocationPolicyMigrationBestFitStaticThreshold.VmAllocationPolicyMigrationBestFitStaticThreshold
(VmSelectionPolicy vmSelectionPolicy, double overUtilizationThreshold) VmAllocationPolicyMigrationBestFitStaticThreshold
(VmSelectionPolicy vmSelectionPolicy, double overUtilizationThreshold, BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Creates a new VmAllocationPolicy, changing theFunction
to select a Host for a Vm.VmAllocationPolicyMigrationDynamicUpperThresholdFirstFit
(VmSelectionPolicy vmSelectionPolicy) Creates a VmAllocationPolicyMigrationDynamicUpperThreshold with asafety parameter
equals to 0 and nofallback policy
.VmAllocationPolicyMigrationDynamicUpperThresholdFirstFit
(VmSelectionPolicy vmSelectionPolicy, double safetyParameter, VmAllocationPolicyMigration fallbackVmAllocationPolicy) Creates a VmAllocationPolicyMigrationDynamicUpperThreshold.VmAllocationPolicyMigrationStaticThreshold
(VmSelectionPolicy vmSelectionPolicy) Creates a VmAllocationPolicyMigrationStaticThreshold.VmAllocationPolicyMigrationStaticThreshold
(VmSelectionPolicy vmSelectionPolicy, double overUtilizationThreshold) Creates a VmAllocationPolicyMigrationStaticThreshold.VmAllocationPolicyMigrationStaticThreshold
(VmSelectionPolicy vmSelectionPolicy, double overUtilizationThreshold, BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Creates a VmAllocationPolicyMigrationStaticThreshold, changing theFunction
to select a Host for a Vm.VmAllocationPolicyMigrationWorstFitStaticThreshold
(VmSelectionPolicy vmSelectionPolicy, double overUtilizationThreshold) VmAllocationPolicyMigrationWorstFitStaticThreshold
(VmSelectionPolicy vmSelectionPolicy, double overUtilizationThreshold, BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Creates a new VmAllocationPolicy, changing theFunction
to select a Host for a Vm. -
Uses of VmSelectionPolicy in org.cloudbus.cloudsim.selectionpolicies
Modifier and TypeClassDescriptionclass
A VM selection policy that selects for migration the VM with Minimum Migration Time (MMT).class
A VM selection policy that selects for migration the VM with Minimum Utilization (MU) of CPU.class
A VM selection policy that randomly select VMs to migrate from a host.