Uses of Interface
org.cloudbus.cloudsim.allocationpolicies.VmAllocationPolicy
Package | Description |
---|---|
org.cloudbus.cloudsim.allocationpolicies |
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. |
org.cloudbus.cloudsim.allocationpolicies.migration |
Provides
VmAllocationPolicy implementations
that enables VM migration. |
org.cloudbus.cloudsim.datacenters |
Provides
Datacenter implementations,
that represents a physical Cloud Datacenter and contains a set of
Host that together provide the basic cloud infrastructure. |
org.cloudbus.cloudsim.datacenters.network |
Provides network-enabled
Datacenter implementations. |
org.cloudsimplus.testbeds |
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.cloudbus.cloudsim.allocationpolicies
Classes in org.cloudbus.cloudsim.allocationpolicies that implement VmAllocationPolicy Modifier and Type Class Description class
VmAllocationPolicyAbstract
An abstract class that represents the policy used by aDatacenter
to choose aHost
to place or migrate a givenVm
.class
VmAllocationPolicyBestFit
A Best Fit VmAllocationPolicy implementation that chooses, as the host for a VM, the one with the most number of PEs in use, which has enough free PEs for a VM.class
VmAllocationPolicyFirstFit
A First Fit VM allocation policy which finds the first Host having suitable resources to place a given VM.class
VmAllocationPolicyRandom
A VM allocation policy which finds a random Host having suitable resources to place a given VM.class
VmAllocationPolicyRoundRobin
A Round-Robin VM allocation policy which finds the next Host having suitable resources to place a given VM in a circular way.class
VmAllocationPolicySimple
A VmAllocationPolicy implementation that chooses, as the host for a VM, that one with the fewest PEs in use.class
VmAllocationPolicyWorstFit
A Worst Fit VmAllocationPolicy implementation that chooses, as the host for a VM, the one with the least number of PEs in use, which has enough free PEs for the VM.Fields in org.cloudbus.cloudsim.allocationpolicies declared as VmAllocationPolicy Modifier and Type Field Description static VmAllocationPolicy
VmAllocationPolicy. NULL
A property that implements the Null Object Design Pattern forVmAllocationPolicy
objects.Method parameters in org.cloudbus.cloudsim.allocationpolicies with type arguments of type VmAllocationPolicy Modifier and Type Method Description void
VmAllocationPolicy. setFindHostForVmFunction(BiFunction<VmAllocationPolicy,Vm,Optional<Host>> findHostForVmFunction)
Sets aBiFunction
that selects a Host for a given Vm.void
VmAllocationPolicyAbstract. setFindHostForVmFunction(BiFunction<VmAllocationPolicy,Vm,Optional<Host>> findHostForVmFunction)
Sets aBiFunction
that selects a Host for a given Vm.Constructor parameters in org.cloudbus.cloudsim.allocationpolicies with type arguments of type VmAllocationPolicy Constructor Description VmAllocationPolicyAbstract(BiFunction<VmAllocationPolicy,Vm,Optional<Host>> findHostForVmFunction)
Creates a VmAllocationPolicy, changing theBiFunction
to select a Host for a Vm.VmAllocationPolicySimple(BiFunction<VmAllocationPolicy,Vm,Optional<Host>> findHostForVmFunction)
Instantiates a VmAllocationPolicySimple, changing theFunction
to select a Host for a Vm in order to define a different policy. -
Uses of VmAllocationPolicy in org.cloudbus.cloudsim.allocationpolicies.migration
Subinterfaces of VmAllocationPolicy in org.cloudbus.cloudsim.allocationpolicies.migration Modifier and Type Interface Description interface
VmAllocationPolicyMigration
An interface to be implemented by a VM allocation policy that detectsHost
under and over CPU utilization.interface
VmAllocationPolicyMigrationDynamicUpperThreshold
An 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.cloudbus.cloudsim.allocationpolicies.migration that implement VmAllocationPolicy Modifier and Type Class Description class
VmAllocationPolicyMigrationAbstract
An abstract VM allocation policy that dynamically optimizes the VM allocation (placement) using migration.class
VmAllocationPolicyMigrationBestFitStaticThreshold
AVmAllocationPolicy
that uses a Static CPU utilization Threshold (THR) to detect hostunder
andVmAllocationPolicyMigrationStaticThreshold.getOverUtilizationThreshold(Host)
over} utilization.class
VmAllocationPolicyMigrationDynamicUpperThresholdFirstFit
An abstract class that is the base for implementation of VM allocation policies which use a dynamic over utilization threshold.class
VmAllocationPolicyMigrationStaticThreshold
A VM allocation policy that uses a static CPU utilization threshold to detect host over utilization.class
VmAllocationPolicyMigrationWorstFitStaticThreshold
AVmAllocationPolicy
that uses a Static CPU utilization Threshold (THR) to detect hostunder
andVmAllocationPolicyMigrationStaticThreshold.getOverUtilizationThreshold(Host)
over} utilization.Constructor parameters in org.cloudbus.cloudsim.allocationpolicies.migration with type arguments of type VmAllocationPolicy Constructor Description 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, double overUtilizationThreshold, BiFunction<VmAllocationPolicy,Vm,Optional<Host>> findHostForVmFunction)
Creates a new VmAllocationPolicy, changing theFunction
to select a Host for a Vm.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, BiFunction<VmAllocationPolicy,Vm,Optional<Host>> findHostForVmFunction)
Creates a new VmAllocationPolicy, changing theFunction
to select a Host for a Vm. -
Uses of VmAllocationPolicy in org.cloudbus.cloudsim.datacenters
Methods in org.cloudbus.cloudsim.datacenters that return VmAllocationPolicy Modifier and Type Method Description VmAllocationPolicy
Datacenter. getVmAllocationPolicy()
Gets the policy to be used by the Datacenter to allocate VMs into hosts.VmAllocationPolicy
DatacenterSimple. getVmAllocationPolicy()
Methods in org.cloudbus.cloudsim.datacenters with parameters of type VmAllocationPolicy Modifier and Type Method Description Datacenter
DatacenterSimple. setVmAllocationPolicy(VmAllocationPolicy vmAllocationPolicy)
Sets the policy to be used by the Datacenter to allocate VMs into hosts.Constructors in org.cloudbus.cloudsim.datacenters with parameters of type VmAllocationPolicy Constructor Description DatacenterSimple(Simulation simulation, List<? extends Host> hostList, VmAllocationPolicy vmAllocationPolicy)
Creates a Datacenter with an emptystorage
.DatacenterSimple(Simulation simulation, List<? extends Host> hostList, VmAllocationPolicy vmAllocationPolicy, List<FileStorage> 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 emptystorage
and no Hosts. -
Uses of VmAllocationPolicy in org.cloudbus.cloudsim.datacenters.network
Constructors in org.cloudbus.cloudsim.datacenters.network with parameters of type VmAllocationPolicy Constructor Description NetworkDatacenter(Simulation simulation, List<? extends Host> hostList, VmAllocationPolicy vmAllocationPolicy)
Creates a NetworkDatacenter with the given parameters. -
Uses of VmAllocationPolicy in org.cloudsimplus.testbeds
Methods in org.cloudsimplus.testbeds that return VmAllocationPolicy Modifier and Type Method Description protected VmAllocationPolicy
Experiment. newVmAllocationPolicy()
Method parameters in org.cloudsimplus.testbeds with type arguments of type VmAllocationPolicy Modifier and Type Method Description void
Experiment. setVmAllocationPolicySupplier(Supplier<VmAllocationPolicy> vmAllocationPolicySupplier)