Uses of Interface
org.cloudsimplus.allocationpolicies.VmAllocationPolicy
Packages that use VmAllocationPolicy
Package
Description
Provides classes that implement policies for a
Datacenter
to select a Host to place or migrate a VM, based on some criteria defined by each class.Provides
VmAllocationPolicy implementations
that enables VM migration.Provides
Datacenter implementations
that represent a physical Cloud Datacenter and contains a set of
Host.Provides network-enabled
Datacenter implementations.Provides base classes to enable implementing testbeds in a repeatable manner,
allowing a researcher to execute several simulation runs
for a given experiment and collect statistical data using a scientific approach.
-
Uses of VmAllocationPolicy in org.cloudsimplus.allocationpolicies
Classes in org.cloudsimplus.allocationpolicies that implement VmAllocationPolicyModifier and TypeClassDescriptionclassAn abstract class that represents the policy used by aDatacenterto choose aHostto place or migrate a givenVm.classAllocates one different underloaded Host for each submitted VM from a List (in batch), ifDatacenterBroker.isBatchVmCreation()is true, so that the broker sends a List of VMs to be created in a single event (instead of sending a new event for each VM).classA Best Fit VmAllocationPolicy implementation that chooses, as the host for a VM, the one with the highest number of PEs in use, which has enough free PEs for a VM.classA First Fit VM allocation policy which finds the first Host having enough resources to place a given VM.classA VM allocation policy which finds a random Host having suitable resources to place a given VM.classA Round-Robin VM allocation policy which finds the next Host having suitable resources to place a given VM in a circular way.classA VmAllocationPolicy implementation that chooses, as the host for a VM, that one with the fewest PEs in use.Fields in org.cloudsimplus.allocationpolicies declared as VmAllocationPolicyModifier and TypeFieldDescriptionstatic final VmAllocationPolicyVmAllocationPolicy.NULLA property that implements the Null Object Design Pattern forVmAllocationPolicyobjects.Methods in org.cloudsimplus.allocationpolicies that return VmAllocationPolicyModifier and TypeMethodDescriptionVmAllocationPolicy.setDatacenter(Datacenter datacenter) Sets the Datacenter associated to the VmAllocationPolicyVmAllocationPolicy.setFindHostForVmFunction(BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Sets aBiFunctionthat selects a Host for a given Vm.final VmAllocationPolicyVmAllocationPolicyAbstract.setFindHostForVmFunction(BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Sets aBiFunctionthat selects a Host for a given Vm.VmAllocationPolicy.setHostCountForParallelSearch(int hostCountForParallelSearch) Sets the minimum number of Hosts to start using parallel search.Method parameters in org.cloudsimplus.allocationpolicies with type arguments of type VmAllocationPolicyModifier and TypeMethodDescriptionVmAllocationPolicy.setFindHostForVmFunction(BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Sets aBiFunctionthat selects a Host for a given Vm.final VmAllocationPolicyVmAllocationPolicyAbstract.setFindHostForVmFunction(BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Sets aBiFunctionthat selects a Host for a given Vm.Constructor parameters in org.cloudsimplus.allocationpolicies with type arguments of type VmAllocationPolicyModifierConstructorDescriptionVmAllocationPolicyAbstract(BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Creates a VmAllocationPolicy, changing theBiFunctionto select a Host for a Vm.VmAllocationPolicySimple(BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Creates a VmAllocationPolicy, changing theFunctionto select a Host for a Vm in order to define a different policy. -
Uses of VmAllocationPolicy in org.cloudsimplus.allocationpolicies.migration
Subinterfaces of VmAllocationPolicy in org.cloudsimplus.allocationpolicies.migrationModifier and TypeInterfaceDescriptioninterfaceAn interface to be implemented by a VM allocation policy that detectsHostunder and over CPU utilization.interfaceAn interface to be implemented by VM allocation policies that define a dynamic over utilization threshold, computed using some statistical method such as Median Absolute Deviation (MAD), Inter-quartile Range (IQR), Local Regression (LR), etc., depending on the implementing class.Classes in org.cloudsimplus.allocationpolicies.migration that implement VmAllocationPolicyModifier and TypeClassDescriptionclassAn abstract VM allocation policy that dynamically optimizes the VM allocation (placement) using migration.classAVmAllocationPolicyMigrationthat uses a Static CPU utilization Threshold (THR) to detect hostunderandoverutilization.classAn abstract class that is the base for implementation ofVM allocation policieswhich use a dynamic over utilization threshold.classAVmAllocationPolicythat uses a Static CPU utilization Threshold (THR) to detect hostunderandover utilization.classA VM allocation policy that uses a static CPU utilization threshold to detect host over utilization.classAVmAllocationPolicythat uses a Static CPU utilization Threshold (THR) to detect hostunderandoverutilization.Methods in org.cloudsimplus.allocationpolicies.migration that return VmAllocationPolicyModifier and TypeMethodDescriptionVmAllocationPolicyMigration.setVmSelectionPolicy(VmSelectionPolicy vmSelectionPolicy) Sets the policy that defines how VMs are selected for migration.Constructor parameters in org.cloudsimplus.allocationpolicies.migration with type arguments of type VmAllocationPolicyModifierConstructorDescriptionVmAllocationPolicyMigrationAbstract(VmSelectionPolicy vmSelectionPolicy, BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Creates a new VmAllocationPolicy, changing theFunctionto select a Host for a Vm.VmAllocationPolicyMigrationBestFitStaticThreshold(VmSelectionPolicy vmSelectionPolicy, double overUtilizationThreshold, BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Creates a new VmAllocationPolicy, changing theFunctionto select a Host for a Vm.VmAllocationPolicyMigrationFirstFitStaticThreshold(VmSelectionPolicy vmSelectionPolicy, double overUtilizationThreshold, BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Creates a VmAllocationPolicy, changing theFunctionto select a Host for a Vm.VmAllocationPolicyMigrationStaticThreshold(VmSelectionPolicy vmSelectionPolicy, double overUtilizationThreshold, BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Creates a VmAllocationPolicy, changing theFunctionto select a Host for a Vm.VmAllocationPolicyMigrationWorstFitStaticThreshold(VmSelectionPolicy vmSelectionPolicy, double overUtilizationThreshold, BiFunction<VmAllocationPolicy, Vm, Optional<Host>> findHostForVmFunction) Creates a new VmAllocationPolicy, changing theFunctionto select a Host for a Vm. -
Uses of VmAllocationPolicy in org.cloudsimplus.datacenters
Methods in org.cloudsimplus.datacenters that return VmAllocationPolicyMethods in org.cloudsimplus.datacenters with parameters of type VmAllocationPolicyModifier and TypeMethodDescriptionfinal DatacenterDatacenterSimple.setVmAllocationPolicy(VmAllocationPolicy vmAllocationPolicy) Constructors in org.cloudsimplus.datacenters with parameters of type VmAllocationPolicyModifierConstructorDescriptionDatacenterSimple(Simulation simulation, List<? extends Host> hostList, VmAllocationPolicy vmAllocationPolicy) Creates a Datacenter with an emptystorage.DatacenterSimple(Simulation simulation, List<? extends Host> hostList, VmAllocationPolicy vmAllocationPolicy, List<SanStorage> storageList) Creates a Datacenter attaching a given storage list to itsstorage.DatacenterSimple(Simulation simulation, List<? extends Host> hostList, VmAllocationPolicy vmAllocationPolicy, DatacenterStorage storage) Creates a Datacenter with a givenstorage.DatacenterSimple(Simulation simulation, VmAllocationPolicy vmAllocationPolicy) Creates a Datacenter with an emptystorageand no Hosts. -
Uses of VmAllocationPolicy in org.cloudsimplus.datacenters.network
Constructors in org.cloudsimplus.datacenters.network with parameters of type VmAllocationPolicyModifierConstructorDescriptionNetworkDatacenter(Simulation simulation, List<? extends NetworkHost> hostList, VmAllocationPolicy vmAllocationPolicy) Creates a NetworkDatacenter with the given parameters. -
Uses of VmAllocationPolicy in org.cloudsimplus.testbeds
Methods in org.cloudsimplus.testbeds that return VmAllocationPolicyModifier and TypeMethodDescriptionprotected final VmAllocationPolicyExperiment.newVmAllocationPolicy()