Uses of Interface
org.cloudsimplus.vms.Vm
Packages that use Vm
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 classes to enable horizontal and vertical scaling
of VMs in order to, respectively, adapt resource requirements to current workload
and to balance load across different VMs.
Provides
DatacenterBroker classes that act on behalf of a cloud customer,
attending his/her requests for creation and destruction of
Cloudlets and
VMs, assigning such Cloudlets to specific VMs.Provides
Builder classes that
implement the Builder Design Pattern
to allow instantiating multiple simulation objects more easily.Provides network-enabled
Cloudlet implementations.Provides core classes used just internally by CloudSim Plus,
except the
CloudSimPlus class that is the
start point and main class used to run simulations.Provides
Datacenter implementations
that represent a physical Cloud Datacenter and contains a set of
Host.Provides classes to inject random faults during simulation runtime.
Provides a set of interfaces and classes to develop heuristics to
find suboptimal solutions for problems, considering some
utility function that has to be minimized or maximized.
Provides
Host implementations
that represent a Physical Machine (PM) used to run Vms
from different cloud customers
(represented by a DatacenterBroker).Provides network-enabled
Host implementations.Provides
EventListener
implementations to enable event notifications during simulation execution.Provides classes that implement the
Switch interface
to allow creating Network Switches that compose a network topology.Provides
ResourceProvisioner implementations
that define policies used by a Host
to manage the allocation of some resource for its VMs, such as
Ram,
Bandwidth or Pe.Provides classes that represent different physical and logical
Resource used by simulation
objects such as Hosts and VMs.Provides
CloudletScheduler
implementations that are used to schedule the execution of multiple
Cloudlets inside a given
Vm.Provides
CloudletTaskScheduler implementations
to enable Cloudlets to perform tasks that are defined in steps,
such as processing tasks or network packet dispatching by a regular
CloudletScheduler.Provides
VmScheduler
implementations that are used to schedule the execution of multiple
Vms inside a given
Host.Provides
VmSelectionPolicy
implementations that define policies to be used by a Host
to select a Vm to migrate.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.
Provides network-enabled
Vm implementations.-
Uses of Vm in org.cloudsimplus.allocationpolicies
Methods in org.cloudsimplus.allocationpolicies that return types with arguments of type VmModifier and TypeMethodDescriptionVmAllocationPolicy.getOptimizedAllocationMap(List<? extends Vm> vmList) Gets a map of optimized allocation for VMs, according to current utilization and Hosts under and overloaded conditions.VmAllocationPolicyAbstract.getOptimizedAllocationMap(List<? extends Vm> vmList) Methods in org.cloudsimplus.allocationpolicies with parameters of type VmModifier and TypeMethodDescriptionVmAllocationPolicy.allocateHostForVm(Vm vm) VmAllocationPolicy.allocateHostForVm(Vm vm, Host host) VmAllocationPolicyAbstract.allocateHostForVm(Vm vm) Allocates the host with less PEs in use for a given VM.VmAllocationPolicyAbstract.allocateHostForVm(Vm vm, Host host) voidVmAllocationPolicy.deallocateHostForVm(Vm vm) Releases the host used by a VM.voidVmAllocationPolicyAbstract.deallocateHostForVm(Vm vm) VmAllocationPolicyAbstract.defaultFindHostForVm(Vm vm) Provides the default implementation of the policy to find a suitable Host for a given VM.VmAllocationPolicyBestFit.defaultFindHostForVm(Vm vm) Gets the first suitable host from theVmAllocationPolicyAbstract.getHostList()that has the highest number of PEs in use (i.e. the least number of free PEs).VmAllocationPolicyFirstFit.defaultFindHostForVm(Vm vm) VmAllocationPolicyRandom.defaultFindHostForVm(Vm vm) VmAllocationPolicyRoundRobin.defaultFindHostForVm(Vm vm) VmAllocationPolicySimple.defaultFindHostForVm(Vm vm) Gets the first suitable host from theVmAllocationPolicyAbstract.getHostList()that has the fewest number of used PEs (i.e, higher free PEs).VmAllocationPolicy.findHostForVm(Vm vm) Finds a suitable Host that has enough resources to place a given VM.VmAllocationPolicyAbstract.findHostForVm(Vm vm) Method parameters in org.cloudsimplus.allocationpolicies with type arguments of type VmModifier and TypeMethodDescriptionVmAllocationPolicy.allocateHostForVm(List<Vm> vmList) final Set<HostSuitability> VmAllocationPolicyAbstract.allocateHostForVm(@NonNull List<Vm> vmList) protected Set<HostSuitability> VmAllocationPolicyAbstract.allocateHostForVmInternal(@NonNull List<Vm> vmList) If you override this method, you must callVmAllocationPolicyAbstract.allocateHostForVm(Vm, Host)for each suitable Host you have found that want to create a VM.protected Set<HostSuitability> VmAllocationPolicyBatchPlacementUnderloadedHosts.allocateHostForVmInternal(@NonNull List<Vm> vmList) VmAllocationPolicy.getOptimizedAllocationMap(List<? extends Vm> vmList) Gets a map of optimized allocation for VMs, according to current utilization and Hosts under and overloaded conditions.VmAllocationPolicyAbstract.getOptimizedAllocationMap(List<? extends Vm> vmList) VmAllocationPolicy.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 VmModifierConstructorDescriptionVmAllocationPolicyAbstract(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 Vm in org.cloudsimplus.allocationpolicies.migration
Methods in org.cloudsimplus.allocationpolicies.migration that return types with arguments of type VmModifier and TypeMethodDescriptionVmAllocationPolicyMigrationAbstract.getOptimizedAllocationMap(List<? extends Vm> vmList) VmAllocationPolicyMigrationAbstract.getVmsToMigrateFromUnderUtilizedHost(Host host) Gets the VMs to migrate from an under-utilized host.Methods in org.cloudsimplus.allocationpolicies.migration with parameters of type VmModifier and TypeMethodDescriptionVmAllocationPolicyMigrationAbstract.defaultFindHostForVm(Vm vm) VmAllocationPolicyMigrationAbstract.findHostForVmInternal(Vm vm, Predicate<Host> predicate) Applies additional filters to the Hosts Stream and performs the actual Host selection.VmAllocationPolicyMigrationBestFitStaticThreshold.findHostForVmInternal(Vm vm, Predicate<Host> predicate) Gets the Host having the least available MIPS capacity (max used MIPS).VmAllocationPolicyMigrationFirstFitStaticThreshold.findHostForVmInternal(Vm vm, Predicate<Host> predicate) Gets the first Host having enough capacity to place the VM.VmAllocationPolicyMigrationWorstFitStaticThreshold.findHostForVmInternal(Vm vm, Predicate<Host> predicate) Gets the Host having the most available MIPS capacity (min used MIPS).protected doubleVmAllocationPolicyMigrationAbstract.getMaxUtilizationAfterAllocation(Host host, Vm vm) Gets the max power consumption of a host after placement of a candidate VM.protected doubleVmAllocationPolicyMigrationAbstract.getPowerAfterAllocation(Host host, Vm vm) Returns the power consumption of a host after the supposed placement of a candidate VM, or 0 if the power consumption could not be determined.protected doubleVmAllocationPolicyMigrationAbstract.powerDiffAfterAllocation(Host host, Vm vm) Gets the difference between the power consumption after and before the supposed placement of a VM into a given Host.Method parameters in org.cloudsimplus.allocationpolicies.migration with type arguments of type VmModifier and TypeMethodDescriptionVmAllocationPolicyMigrationAbstract.getOptimizedAllocationMap(List<? extends Vm> vmList) Constructor parameters in org.cloudsimplus.allocationpolicies.migration with type arguments of type VmModifierConstructorDescriptionVmAllocationPolicyMigrationAbstract(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 Vm in org.cloudsimplus.autoscaling
Fields in org.cloudsimplus.autoscaling with type parameters of type VmMethods in org.cloudsimplus.autoscaling that return VmModifier and TypeMethodDescriptionVmScaling.getVm()Returns the Vm that this VmScaling is linked to.Methods in org.cloudsimplus.autoscaling that return types with arguments of type VmModifier and TypeMethodDescriptionVerticalVmScaling.getLowerThresholdFunction()Returns a Function that defines the lower utilization threshold for a Vm which indicates if it is underloaded or not.HorizontalVmScaling.getOverloadPredicate()Gets thePredicatethat defines when aVmis overloaded or not, that will make the Vm'sDatacenterBrokerto up scale the VM.VerticalVmScaling.getResourceUsageThresholdFunction()Gets the lower or upper resource utilization thresholdFunction, depending on if the Vm resource is under or overloaded, respectively.VerticalVmScalingAbstract.getResourceUsageThresholdFunction()VerticalVmScaling.getUpperThresholdFunction()Returns a Function that defines the upper utilization threshold for a Vm which indicates if it is overloaded or not.HorizontalVmScaling.getVmSupplier()Returns a Supplier that will be used to create VMs when the Load Balancer detects that the current Broker's VMs are overloaded.Methods in org.cloudsimplus.autoscaling with parameters of type VmMethod parameters in org.cloudsimplus.autoscaling with type arguments of type VmModifier and TypeMethodDescriptionVerticalVmScaling.setLowerThresholdFunction(Function<Vm, Double> lowerThresholdFunction) final VerticalVmScalingVerticalVmScalingAbstract.setLowerThresholdFunction(Function<Vm, Double> lowerThresholdFunction) HorizontalVmScaling.setOverloadPredicate(Predicate<Vm> predicate) Sets aPredicatethat defines when aVmis overloaded or not, making theDatacenterBrokerto up scale the VM.VerticalVmScaling.setUpperThresholdFunction(Function<Vm, Double> upperThresholdFunction) final VerticalVmScalingVerticalVmScalingAbstract.setUpperThresholdFunction(Function<Vm, Double> upperThresholdFunction) HorizontalVmScaling.setVmSupplier(Supplier<Vm> supplier) Sets aSupplierthat will be used to create VMs when the Load Balancer detects that the current Broker's VMs are overloaded. -
Uses of Vm in org.cloudsimplus.brokers
Methods in org.cloudsimplus.brokers with type parameters of type VmModifier and TypeMethodDescriptionDatacenterBroker.getVmCreatedList()Gets the list of all VMs created so far, independently if they are running yet or were already destroyed.DatacenterBrokerAbstract.getVmCreatedList()DatacenterBroker.getVmExecList()Gets the list of VMs in execution, if they are running Cloudlets or not.DatacenterBrokerAbstract.getVmExecList()DatacenterBroker.getVmFailedList()Gets a List of VMs submitted to the broker that have failed to be created inside some Datacenter due to lack of suitable Hosts.DatacenterBrokerAbstract.getVmFailedList()DatacenterBroker.getVmWaitingList()Gets a List of VMs submitted to the broker that are waiting to be created inside some Datacenter yet.DatacenterBrokerAbstract.getVmWaitingList()Methods in org.cloudsimplus.brokers that return VmModifier and TypeMethodDescriptionprotected abstract VmDatacenterBrokerAbstract.defaultVmMapper(Cloudlet cloudlet) Selects a VM to execute a given Cloudlet.DatacenterBrokerBestFit.defaultVmMapper(Cloudlet cloudlet) Selects the VM with the lowest number of PEs that is able to run a given Cloudlet.DatacenterBrokerFirstFit.defaultVmMapper(Cloudlet cloudlet) Selects the first VM with the lowest number of PEs that is able to run a given Cloudlet.DatacenterBrokerHeuristic.defaultVmMapper(Cloudlet cloudlet) protected VmDatacenterBrokerSimple.defaultVmMapper(Cloudlet cloudlet) Selects a VM to execute a given Cloudlet.protected VmDatacenterBrokerAbstract.getVmFromCreatedList(int vmIndex) Gets a Vm at a given index from thelist of created VMs.DatacenterBroker.getWaitingVm(int index) Gets a VM from the waiting list.DatacenterBrokerAbstract.getWaitingVm(int index) Methods in org.cloudsimplus.brokers with parameters of type VmModifier and TypeMethodDescriptionbooleanDatacenterBroker.bindCloudletToVm(Cloudlet cloudlet, Vm vm) Specifies that an already submitted cloudlet, which is in thewaiting list, must run in a specific virtual machine.booleanDatacenterBrokerAbstract.bindCloudletToVm(Cloudlet cloudlet, Vm vm) protected DatacenterDatacenterBrokerAbstract.closestDatacenterMapper(Datacenter lastDatacenter, Vm vm) Selects the closest Datacenter to request the creating of waiting VMs, according to their timezone offset.protected abstract DatacenterDatacenterBrokerAbstract.defaultDatacenterMapper(Datacenter lastDatacenter, Vm vm) Selects a Datacenter to request the creating of waiting VMs.protected DatacenterDatacenterBrokerSimple.defaultDatacenterMapper(Datacenter lastDatacenter, Vm vm) Selects a Datacenter to request the creating of waiting VMs.protected DatacenterDatacenterBrokerAbstract.getDatacenter(Vm vm) Returns the Datacenter where a VM is placed.DatacenterBroker.requestIdleVmDestruction(Vm vm) Checks if a VM is idle VM and request it to be destroyed at the time defined by theDatacenterBroker.setVmDestructionDelayFunction(Function).DatacenterBrokerAbstract.requestIdleVmDestruction(Vm vm) DatacenterBroker.submitCloudletList(List<? extends Cloudlet> list, Vm vm) Sends a list of cloudlets to the broker so that it requests their creation inside a specific VM, following the submission delay specified in each cloudlet (if any).DatacenterBroker.submitCloudletList(List<? extends Cloudlet> list, Vm vm, double submissionDelay) Sends a list of cloudlets to the broker so that it requests their creation inside a specific VM just after a given delay.DatacenterBrokerAbstract.submitCloudletList(List<? extends Cloudlet> list, Vm vm) DatacenterBrokerAbstract.submitCloudletList(List<? extends Cloudlet> list, Vm vm, double submissionDelay) Method parameters in org.cloudsimplus.brokers with type arguments of type VmModifier and TypeMethodDescriptionDatacenterBroker.setDatacenterMapper(BiFunction<Datacenter, Vm, Datacenter> datacenterMapper) Sets theBiFunctionthat selects and returns a Datacenter to place submitted VMs.DatacenterBroker.setVmComparator(Comparator<Vm> comparator) Sets aComparatorthat will be used to sort every list of submitted VMs before requesting the creation of such VMs in some Datacenter.DatacenterBroker.setVmDestructionDelayFunction(@Nullable Function<Vm, Double> function) Sets aFunctionto define the delay after which an idle VM should be destroyed.DatacenterBrokerAbstract.setVmDestructionDelayFunction(Function<Vm, Double> function) Sets aFunctionto define the delay after which an idle VM should be destroyed.DatacenterBroker.setVmMapper(Function<Cloudlet, Vm> vmMapper) Sets aFunctionthat maps a given Cloudlet to a Vm.DatacenterBroker.submitVmList(List<? extends Vm> list) Submits a list ofVmorVmGroupwhere their creation inside a Host will be requested to someDatacenter.DatacenterBroker.submitVmList(List<? extends Vm> list, double submissionDelay) DatacenterBrokerAbstract.submitVmList(List<? extends Vm> list) Submits a list ofVmorVmGroupwhere their creation inside a Host will be requested to someDatacenter.DatacenterBrokerAbstract.submitVmList(List<? extends Vm> list, double submissionDelay) -
Uses of Vm in org.cloudsimplus.builders
Methods in org.cloudsimplus.builders that return VmModifier and TypeMethodDescriptionSimulationScenarioBuilder.getFirstVmFromFirstBroker()VmBuilder.getVmById(int id) SimulationScenarioBuilder.getVmFromBroker(int vmIndex, int brokerIndex) Methods in org.cloudsimplus.builders that return types with arguments of type Vm -
Uses of Vm in org.cloudsimplus.cloudlets
Methods in org.cloudsimplus.cloudlets that return VmMethods in org.cloudsimplus.cloudlets with parameters of type Vm -
Uses of Vm in org.cloudsimplus.cloudlets.network
Methods in org.cloudsimplus.cloudlets.network with parameters of type VmConstructors in org.cloudsimplus.cloudlets.network with parameters of type Vm -
Uses of Vm in org.cloudsimplus.core
Methods in org.cloudsimplus.core with parameters of type VmModifier and TypeMethodDescriptiondefault doublePhysicalMachine.getExpectedRelativeCpuUtilization(Vm vm, double vmCpuUtilizationPercent) Computes what would be the relative percentage of the CPU a VM is using from a PM's total MIPS capacity, considering that the VM's CPU load is at a given percentage.default doublePhysicalMachine.getRelativeBwUtilization(Vm vm) Computes the relative percentage of the BW a VM is using from a PM's total capacity for the current simulation time.default doublePhysicalMachine.getRelativeCpuUtilization(Vm vm) Computes the current relative percentage of the CPU a VM is using from the PM's total MIPS capacity.default doublePhysicalMachine.getRelativeMipsCapacityPercent(Vm vm) default doublePhysicalMachine.getRelativeRamUtilization(Vm vm) Computes the relative percentage of the RAM a VM is using from a PM's total capacity for the current simulation time. -
Uses of Vm in org.cloudsimplus.datacenters
Methods in org.cloudsimplus.datacenters with parameters of type VmModifier and TypeMethodDescriptionstatic DatacenterTimeZoned.closestDatacenter(Vm vm, List<Datacenter> datacenters) voidDatacenter.requestVmMigration(Vm sourceVm) voidDatacenter.requestVmMigration(Vm sourceVm, Host targetHost) voidDatacenterSimple.requestVmMigration(Vm sourceVm) voidDatacenterSimple.requestVmMigration(Vm sourceVm, Host targetHost) -
Uses of Vm in org.cloudsimplus.faultinjection
Methods in org.cloudsimplus.faultinjection that return types with arguments of type VmModifier and TypeMethodDescriptionClones a givenVmusing the Vm Cloner Function and their Cloudlets using the Cloudlets Cloner Function, binding the cloned Cloudlets to the cloned Vm.Methods in org.cloudsimplus.faultinjection with parameters of type VmModifier and TypeMethodDescriptionClones a givenVmusing the Vm Cloner Function and their Cloudlets using the Cloudlets Cloner Function, binding the cloned Cloudlets to the cloned Vm.Method parameters in org.cloudsimplus.faultinjection with type arguments of type VmModifier and TypeMethodDescriptionVmCloner.setCloudletsClonerFunction(Function<Vm, List<Cloudlet>> cloudletsClonerFunction) VmCloner.setVmClonerFunction(UnaryOperator<Vm> vmClonerFunction) Sets theUnaryOperatorto be used to cloneVms.Constructor parameters in org.cloudsimplus.faultinjection with type arguments of type VmModifierConstructorDescriptionVmClonerSimple(UnaryOperator<Vm> vmClonerFunction, Function<Vm, List<Cloudlet>> cloudletsClonerFunction) Creates aVmcloner which clones Vm at maximum once after all VMs fail on a given broker.VmClonerSimple(UnaryOperator<Vm> vmClonerFunction, Function<Vm, List<Cloudlet>> cloudletsClonerFunction) Creates aVmcloner which clones Vm at maximum once after all VMs fail on a given broker. -
Uses of Vm in org.cloudsimplus.heuristics
Classes in org.cloudsimplus.heuristics that implement interfaces with type arguments of type VmModifier and TypeClassDescriptionclassA possible solution for mapping a set of Cloudlets to a set of Vm's.Methods in org.cloudsimplus.heuristics that return types with arguments of type VmModifier and TypeMethodDescriptionCloudletToVmMappingSolution.getRandomMapEntries()Try to get 2 randomly selected entries from theCloudletToVmMappingSolution.cloudletVmMap.CloudletToVmMappingSolution.getResult()CloudletToVmMappingHeuristic.getVmList()Methods in org.cloudsimplus.heuristics with parameters of type VmModifier and TypeMethodDescriptionvoidCloudletToVmMappingSolution.bindCloudletToVm(@NonNull Cloudlet cloudlet, @NonNull Vm vm) Binds a cloudlet to be executed by a given Vm.doubleComputes the cost of all Cloudlets hosted by a given Vm.Method parameters in org.cloudsimplus.heuristics with type arguments of type VmModifier and TypeMethodDescriptiondoubleComputes the cost of all Cloudlets hosted by a given Vm.doubleComputes the cost of all Cloudlets hosted by a given Vm.Sets the list of available VMs to run Cloudlets.protected final booleanCloudletToVmMappingSolution.swapVmsOfTwoMapEntries(List<Map.Entry<Cloudlet, Vm>> entries) Swap the VMs of 2 randomly selected cloudlets in theCloudletToVmMappingSolution.cloudletVmMapin order to provide a neighbor solution. -
Uses of Vm in org.cloudsimplus.hosts
Fields in org.cloudsimplus.hosts with type parameters of type VmModifier and TypeFieldDescriptionHostAbstract.vmCreatedListHostAbstract.vmsMigratingInHostAbstract.vmsMigratingOutMethods in org.cloudsimplus.hosts with type parameters of type VmModifier and TypeMethodDescriptionHost.getVmCreatedList()Gets a read-only list of all VMs that have been created into the Host during the entire simulation.HostAbstract.getVmCreatedList()Host.getVmList()Gets a list of VMs currently assigned to the Host.HostAbstract.getVmList()Host.getVmsMigratingIn()Gets the list of VMs migrating into this host.HostAbstract.getVmsMigratingIn()Methods in org.cloudsimplus.hosts that return types with arguments of type VmModifier and TypeMethodDescriptionHost.getFinishedVms()HostAbstract.getFinishedVms()Host.getMigratableVms()HostAbstract.getMigratableVms()Host.getVmsMigratingOut()HostAbstract.getVmsMigratingOut()Methods in org.cloudsimplus.hosts with parameters of type VmModifier and TypeMethodDescriptionbooleanHost.addMigratingInVm(Vm vm) Try to add a Vm migrating into the current Host if there are enough resources for it.booleanHostAbstract.addMigratingInVm(Vm vm) booleanHost.addVmMigratingOut(Vm vm) Adds aVmto the list of VMs migrating out this Host.booleanHostAbstract.addVmMigratingOut(@NonNull Vm vm) protected voidHostAbstract.addVmToCreatedList(@NonNull Vm vm) protected voidHostAbstract.addVmToList(@NonNull Vm vm) Host.createTemporaryVm(Vm vm) Try to allocate resources to a new temporary VM in the Host.HostAbstract.createTemporaryVm(Vm vm) Try to allocate resources to a new VM in the Host.protected voidHostAbstract.deallocateResourcesOfVm(Vm vm) Deallocate all resources that a Vm was using.voidHostAbstract.destroyTemporaryVm(Vm vm) Destroys a temporary Vm created into the Host to book resources.voidDestroys a Vm running in the Host and removes it from theHostAbstract.getVmList().voidHostAbstract.destroyVmInternal(@NonNull Vm vm) protected MipsShareHostAbstract.getAllocatedMipsForVm(Vm vm) Host.getSuitabilityFor(Vm vm) Checks if the host is suitable for a Vm (if it has enough resources to meet the Vm requirements) and the Host has not failed, providing fine-grained information about the suitability of each Host resource.HostAbstract.getSuitabilityFor(Vm vm) doubleHost.getTotalAllocatedMipsForVm(Vm vm) Returns the total allocated MIPS for a VM across all its PEs.doubleHostAbstract.getTotalAllocatedMipsForVm(Vm vm) booleanHost.isSuitableForVm(Vm vm) Checks if the Host is suitable for a Vm (if it has enough resources to meet the Vm requirements) and the Host has not failed.booleanHostAbstract.isSuitableForVm(Vm vm) voidHost.removeMigratingInVm(Vm vm) Removes a VM migrating into this Host from the migrating-in list, so that the VM can be actually placed into the Host and the migration process finished.voidHostAbstract.removeMigratingInVm(@NonNull Vm vm) booleanHost.removeVmMigratingOut(Vm vm) Removes aVmfrom the list of VMs migrating out this Host.booleanHostAbstract.removeVmMigratingOut(@NonNull Vm vm) protected doubleHostAbstract.updateVmProcessing(Vm vm, double currentTime, double nextSimulationDelay) Constructors in org.cloudsimplus.hosts with parameters of type VmModifierConstructorDescriptionHostSuitability(@NonNull Host host, @NonNull Vm vm, @NonNull String reason) Creates aHostSuitabilityobject where, by default, indicates that the Host is not suitable for the given Vm.HostSuitability(Host host, Vm vm) HostSuitability(Vm vm, String reason) -
Uses of Vm in org.cloudsimplus.hosts.network
Methods in org.cloudsimplus.hosts.network with parameters of type VmModifier and TypeMethodDescriptionTry to allocate resources to a new VM in the Host. -
Uses of Vm in org.cloudsimplus.listeners
Methods in org.cloudsimplus.listeners that return VmMethods in org.cloudsimplus.listeners with parameters of type VmModifier and TypeMethodDescriptionstatic CloudletVmEventInfoCloudletVmEventInfo.of(EventListener<? extends EventInfo> listener, double time, Cloudlet cloudlet, Vm vm) Gets aCloudletVmEventInfoinstance from the given parameters.static CloudletVmEventInfoCloudletVmEventInfo.of(EventListener<? extends EventInfo> listener, Cloudlet cloudlet, Vm vm) Gets aCloudletVmEventInfoinstance from the given parameters.DatacenterVmMigrationEventInfo.of(EventListener<DatacenterVmMigrationEventInfo> listener, Vm vm, HostSuitability suitability) Gets aDatacenterVmMigrationEventInfoinstance from the given parameters.static VmDatacenterEventInfoVmDatacenterEventInfo.of(EventListener<VmDatacenterEventInfo> listener, Vm vm) Gets aVmDatacenterEventInfoinstance from the given parameters.static VmDatacenterEventInfoVmDatacenterEventInfo.of(EventListener<VmDatacenterEventInfo> listener, Vm vm, Datacenter datacenter) Gets aVmDatacenterEventInfoinstance from the given parameters.static VmHostEventInfoVmHostEventInfo.of(EventListener<VmHostEventInfo> listener, Vm vm) Gets aVmHostEventInfoinstance from the given parameters.static VmHostEventInfoVmHostEventInfo.of(EventListener<VmHostEventInfo> listener, Vm vm, Host host) Gets aVmHostEventInfoinstance from the given parameters. -
Uses of Vm in org.cloudsimplus.network.switches
Methods in org.cloudsimplus.network.switches with parameters of type Vm -
Uses of Vm in org.cloudsimplus.provisioners
Methods in org.cloudsimplus.provisioners that return types with arguments of type VmModifier and TypeMethodDescriptionprotected Function<Vm, ResourceManageable> ResourceProvisionerAbstract.getVmResourceFunction()Methods in org.cloudsimplus.provisioners with parameters of type VmModifier and TypeMethodDescriptionbooleanPeProvisioner.allocateResourceForVm(Vm vm, long mipsCapacity) Allocates an amount of MIPS from the physical PE to a new virtual PE for a given VM.default booleanResourceProvisioner.allocateResourceForVm(Vm vm, double newTotalVmResource) Allocates an amount of the physical resource for a VM, changing the current capacity of the virtual resource to the given amount.booleanResourceProvisioner.allocateResourceForVm(Vm vm, long newTotalVmResourceCapacity) Allocates an amount of the physical resource for a VM, changing the current capacity of the virtual resource to the given amount.booleanResourceProvisionerSimple.allocateResourceForVm(Vm vm, double newTotalVmResource) booleanResourceProvisionerSimple.allocateResourceForVm(Vm vm, long newTotalVmResourceCapacity) longPeProvisioner.deallocateResourceForVm(Vm vm) Releases the virtual PE allocated to a given VM.longResourceProvisioner.deallocateResourceForVm(Vm vm) Deallocate the resource for the given VM.longResourceProvisionerSimple.deallocateResourceForVm(Vm vm) longPeProvisioner.getAllocatedResourceForVm(Vm vm) Gets the amount of allocated MIPS from the physical PE to a virtual PE of a VM.longResourceProvisioner.getAllocatedResourceForVm(Vm vm) Gets the amount of resource allocated to a given VM from the physical resourcelongResourceProvisionerAbstract.getAllocatedResourceForVm(Vm vm) booleanResourceProvisioner.isSuitableForVm(Vm vm, long newVmTotalAllocatedResource) Checks if it is possible to change the current allocated resource for a given VM to a new amount, depending on the available physical resource remaining.booleanResourceProvisioner.isSuitableForVm(Vm vm, Resource resource) Checks if it is possible to change the current allocated resource for a given VM to a new amount, depending on the available physical resource remaining.booleanResourceProvisionerSimple.isSuitableForVm(Vm vm, long newVmTotalAllocatedResource) booleanResourceProvisionerSimple.isSuitableForVm(Vm vm, Resource resource) Method parameters in org.cloudsimplus.provisioners with type arguments of type VmModifier and TypeMethodDescriptionvoidResourceProvisioner.setResources(ResourceManageable pmResource, Function<Vm, ResourceManageable> vmResourceFunction) final voidResourceProvisionerAbstract.setResources(ResourceManageable pmResource, Function<Vm, ResourceManageable> vmResourceFunction) Constructor parameters in org.cloudsimplus.provisioners with type arguments of type VmModifierConstructorDescriptionResourceProvisionerAbstract(ResourceManageable pmResource, Function<Vm, ResourceManageable> vmResourceFunction) Creates a ResourceManageable Provisioner.protectedResourceProvisionerSimple(ResourceManageable resource, Function<Vm, ResourceManageable> vmResourceFunction) Creates a ResourceProvisionerSimple for a givenResourceManageable. -
Uses of Vm in org.cloudsimplus.resources
Constructors in org.cloudsimplus.resources with parameters of type Vm -
Uses of Vm in org.cloudsimplus.schedulers.cloudlet
Methods in org.cloudsimplus.schedulers.cloudlet that return VmMethods in org.cloudsimplus.schedulers.cloudlet with parameters of type Vm -
Uses of Vm in org.cloudsimplus.schedulers.cloudlet.network
Methods in org.cloudsimplus.schedulers.cloudlet.network that return VmMethods in org.cloudsimplus.schedulers.cloudlet.network with parameters of type VmModifier and TypeMethodDescriptionSets the Vm that the CloudletTaskScheduler will receive packets from or send packets to. -
Uses of Vm in org.cloudsimplus.schedulers.vm
Methods in org.cloudsimplus.schedulers.vm with parameters of type VmModifier and TypeMethodDescriptionprotected voidVmSchedulerTimeShared.allocateMipsShareForVm(Vm vm, MipsShare requestedMipsReduced) Performs the allocation of a MIPS share to a given VM.booleanVmScheduler.allocatePesForVm(Vm vm) Requests the allocation of PEs for a VM, according to the number of PEs and MIPS defined by VM attributes.booleanVmScheduler.allocatePesForVm(Vm vm, MipsShare requestedMips) Requests the allocation of PEs for a VM.final booleanVmSchedulerAbstract.allocatePesForVm(@NonNull Vm vm, @NonNull MipsShare requestedMips) final booleanVmSchedulerAbstract.allocatePesForVm(Vm vm) protected abstract booleanVmSchedulerAbstract.allocatePesForVmInternal(Vm vm, MipsShare mipsShareRequested) booleanVmSchedulerSpaceShared.allocatePesForVmInternal(Vm vm, MipsShare requestedMips) booleanVmSchedulerTimeShared.allocatePesForVmInternal(Vm vm, MipsShare requestedMips) voidVmScheduler.deallocatePesFromVm(Vm vm) Releases all PEs allocated to a VM.voidVmScheduler.deallocatePesFromVm(Vm vm, int pesToRemove) Releases a given number of PEs from a VM.voidVmSchedulerAbstract.deallocatePesFromVm(Vm vm) voidVmSchedulerAbstract.deallocatePesFromVm(Vm vm, int pesToRemove) protected abstract longVmSchedulerAbstract.deallocatePesFromVmInternal(Vm vm, int pesToRemove) protected longVmSchedulerSpaceShared.deallocatePesFromVmInternal(Vm vm, int pesToRemove) protected longVmSchedulerTimeShared.deallocatePesFromVmInternal(Vm vm, int pesToRemove) VmScheduler.getAllocatedMips(Vm vm) Gets the MIPS share of each Host's Pe that is allocated to a given VM.VmSchedulerAbstract.getAllocatedMips(@NonNull Vm vm) protected MipsShareVmSchedulerAbstract.getMipsShareRequestedReduced(Vm vm, MipsShare mipsShareRequested) Gets an adjusted MIPS share requested by a VM, reducing every MIPS which is higher than the capacity of each physical PE to that value.protected MipsShareVmSchedulerTimeShared.getMipsShareToAllocate(Vm vm, MipsShare requestedMips) Gets the actual MIPS share that will be allocated to VM's PEs, considering the VM migration status.VmScheduler.getRequestedMips(Vm vm) Gets the MIPS share requested by a VMVmSchedulerAbstract.getRequestedMips(Vm vm) doubleVmScheduler.getTotalAllocatedMipsForVm(Vm vm) Returns the actual total allocated MIPS for a VM along all its allocated PEs.doubleVmSchedulerAbstract.getTotalAllocatedMipsForVm(Vm vm) booleanVmScheduler.isSuitableForVm(Vm vm) Checks if the PM using this scheduler has enough MIPS capacity to host a given VM.booleanVmScheduler.isSuitableForVm(Vm vm, MipsShare requestedMips) Checks if the MIPS share requested by a VM can be allocated or not.final booleanVmSchedulerAbstract.isSuitableForVm(@NonNull Vm vm, @NonNull MipsShare requestedMips) final booleanVmSchedulerAbstract.isSuitableForVm(Vm vm) protected abstract booleanVmSchedulerAbstract.isSuitableForVmInternal(Vm vm, MipsShare requestedMips) protected booleanVmSchedulerSpaceShared.isSuitableForVmInternal(Vm vm, MipsShare requestedMips) protected booleanVmSchedulerTimeShared.isSuitableForVmInternal(Vm vm, MipsShare requestedMips) The non-emptiness of the list is ensured by theVmScheduler.isSuitableForVm(Vm, MipsShare)method.protected doubleVmSchedulerAbstract.mipsPercentToRequest(Vm vm) Gets the percentage of the MIPS requested by a VM that will be in fact requested to the Host, according to the VM migration status:protected final longVmSchedulerAbstract.removePesFromVm(Vm vm, MipsShare mipsShare, long pesToRemove) Tries to remove a given number of PEs allocated to a VM -
Uses of Vm in org.cloudsimplus.selectionpolicies
Methods in org.cloudsimplus.selectionpolicies that return types with arguments of type VmModifier and TypeMethodDescriptionVmSelectionPolicy.getVmToMigrate(Host host) Gets a VM to migrate from a given Host.VmSelectionPolicyMinimumMigrationTime.getVmToMigrate(Host host) VmSelectionPolicyMinimumUtilization.getVmToMigrate(Host host) VmSelectionPolicyRandomSelection.getVmToMigrate(Host host) -
Uses of Vm in org.cloudsimplus.testbeds
Methods in org.cloudsimplus.testbeds that return VmModifier and TypeMethodDescriptionprotected abstract VmExperiment.createVm(DatacenterBroker broker, int id) Methods in org.cloudsimplus.testbeds that return types with arguments of type VmModifier and TypeMethodDescriptionExperiment.createVms(DatacenterBroker broker) Creates the Vms to be used by the experiment. -
Uses of Vm in org.cloudsimplus.vms
Classes in org.cloudsimplus.vms that implement VmModifier and TypeClassDescriptionclassA base class for implementingVms.classRepresents a List ofVms that form a group, so that should be placed together at the same, according to resource availability.classImplements the basic features of a Virtual Machine (VM), which runs inside aHostthat may be shared among other VMs.Subclasses with type arguments of type Vm in org.cloudsimplus.vmsModifier and TypeClassDescriptionclassComputes resource utilization statistics for a specific resource on a givenVm.Subinterfaces with type arguments of type Vm in org.cloudsimplus.vmsModifier and TypeInterfaceDescriptioninterfaceAn interface to be implemented by each class that provides basic features for Virtual Machines (VMs).Fields in org.cloudsimplus.vms declared as VmModifier and TypeFieldDescriptionstatic final VmVm.NULLAn attribute that implements the Null Object Design Pattern forVmobjects.Methods in org.cloudsimplus.vms that return VmModifier and TypeMethodDescriptionVmAbstract.addExpectedFreePesNumber(long pesToAdd) Adds a given number of expected free PEs to the total number of expected free PEs.Vm.addOnCreationFailureListener(EventListener<VmDatacenterEventInfo> listener) Adds a listener object that will be notified when the Vm fail in being placed, due to lack of aHostwith enough resources in a specificDatacenter.VmAbstract.addOnCreationFailureListener(@NonNull EventListener<VmDatacenterEventInfo> listener) Vm.addOnHostAllocationListener(EventListener<VmHostEventInfo> listener) Adds a listener object that will be notified when aHostis allocated to the Vm, that is, when the Vm is placed into a given Host.VmAbstract.addOnHostAllocationListener(@NonNull EventListener<VmHostEventInfo> listener) Vm.addOnHostDeallocationListener(EventListener<VmHostEventInfo> listener) Adds a listener object that will be notified when the Vm is moved/removed from aHost.VmAbstract.addOnHostDeallocationListener(@NonNull EventListener<VmHostEventInfo> listener) Vm.addOnMigrationFinishListener(EventListener<VmHostEventInfo> listener) Adds a listener object that will be notified when a VM finishes migrating to a targetHost.VmAbstract.addOnMigrationFinishListener(@NonNull EventListener<VmHostEventInfo> listener) Vm.addOnMigrationStartListener(EventListener<VmHostEventInfo> listener) Adds a listener object that will be notified when a VM starts migrating to a targetHost.VmAbstract.addOnMigrationStartListener(@NonNull EventListener<VmHostEventInfo> listener) Vm.addOnUpdateProcessingListener(EventListener<VmHostEventInfo> listener) Adds a listener object that will be notified every time when the processing of the Vm is updated in itsHost.VmAbstract.addOnUpdateProcessingListener(@NonNull EventListener<VmHostEventInfo> listener) VmAbstract.removeExpectedFreePesNumber(long pesToRemove) Adds a given number of expected free PEs to the total number of expected free PEs.VmAbstract.setAllocatedMips(MipsShare allocatedMips) Vm.setBootModel(BootModel model) Sets a model which defines how the VM uses resources such as RAM, CPU and BW during the boot process.Vm.setBw(long bwCapacity) Sets the bandwidth capacity (in Megabits/s)final VmVmAbstract.setBw(long bwCapacity) Vm.setBwVerticalScaling(VerticalVmScaling bwVerticalScaling) Sets aVerticalVmScalingthat will check if the Vm'sBandwidthis under or overloaded, based on some conditions defined byPredicates given to the VerticalVmScaling, and then request the Bandwidth up or down scaling.final VmVmAbstract.setBwVerticalScaling(VerticalVmScaling bwVerticalScaling) Vm.setCloudletScheduler(CloudletScheduler cloudletScheduler) Sets the Cloudlet scheduler the Vm uses to schedule cloudlets execution.final VmVmAbstract.setCloudletScheduler(@NonNull CloudletScheduler cloudletScheduler) Vm.setDescription(String description) Sets the Vm description, an optional text which can be used to provide details about this VM.VmAbstract.setDescription(String description) VmAbstract.setFreePesNumber(long freePesNumber) Sets the current number of free PEs.Vm.setHorizontalScaling(HorizontalVmScaling horizontalScaling) Sets aHorizontalVmScalingthat will check if the Vm is overloaded, based on some conditions defined by aPredicategiven to the HorizontalVmScaling, and then request the creation of new VMs to horizontally scale the Vm.final VmVmAbstract.setHorizontalScaling(HorizontalVmScaling horizontalScaling) Sets the PM that hosts the VM.Vm.setInMigration(boolean migrating) Defines if the VM is in migration process or not.VmAbstract.setInMigration(boolean inMigration) Vm.setPeVerticalScaling(VerticalVmScaling peVerticalScaling) Sets aVerticalVmScalingthat will check if the Vm'sPeis under or overloaded, based on some conditions defined byPredicates given to the VerticalVmScaling, and then request the Pe up or down scaling.final VmVmAbstract.setPeVerticalScaling(VerticalVmScaling peVerticalScaling) Vm.setRam(long ramCapacity) Sets RAM capacity in Megabytes.final VmVmAbstract.setRam(long ramCapacity) Vm.setRamVerticalScaling(VerticalVmScaling ramVerticalScaling) Sets aVerticalVmScalingthat will check if the Vm'sRamis under or overloaded, based on some conditions defined byPredicates given to the VerticalVmScaling, and then request the RAM up or down scaling.final VmVmAbstract.setRamVerticalScaling(VerticalVmScaling ramVerticalScaling) VmAbstract.setRequestedMips(MipsShare requestedMips) Vm.setSize(long size) Sets the storage size (capacity) of the VM image in Megabytes.final VmVmAbstract.setSize(long size) Vm.setTimeZone(double timeZone) Sets the time zone offset between [TimeZoned.MIN_TIME_ZONE_OFFSETandTimeZoned.MAX_TIME_ZONE_OFFSET].VmAbstract.setTimeZone(double timeZone) final VmVmGroup.setTimeZone(double timeZone) Methods in org.cloudsimplus.vms that return types with arguments of type VmModifier and TypeMethodDescriptionVmAbstract.getList(T vmOrList) Accepts a Vm orList<Vm>and return aList<Vm>Methods in org.cloudsimplus.vms with parameters of type VmModifier and TypeMethodDescriptionintCompare this Vm with another one based onVmAbstract.getTotalMipsCapacity().Constructors in org.cloudsimplus.vms with parameters of type VmModifierConstructorDescriptionVmAbstract(Vm sourceVm) A copy constructor that creates a VM based on the configuration of another one.Creates an instance to compute the monetary cost ($) to run a given VM.VmResourceStats(Vm machine, Function<Vm, Double> resourceUtilizationFunction) Creates a VmResourceStats to collect resource utilization statistics for a VM.A copy constructor that creates a VM based on the configuration of another one.Constructor parameters in org.cloudsimplus.vms with type arguments of type VmModifierConstructorDescriptionCreates a VmGroup for a List of VMs to be placed at the datacenter closest to a given timezone.Creates a VmGroup for a List of VMs.Creates a VmGroup for a List of VMs to be placed at the datacenter closest to a given timezone.VmResourceStats(Vm machine, Function<Vm, Double> resourceUtilizationFunction) Creates a VmResourceStats to collect resource utilization statistics for a VM. -
Uses of Vm in org.cloudsimplus.vms.network
Classes in org.cloudsimplus.vms.network that implement VmModifier and TypeClassDescriptionclassA Vm supporting simulation of network communication.Methods in org.cloudsimplus.vms.network that return Vm