Uses of Class org.cloudbus.cloudsim.Vm (cloudsim 3.1-SNAPSHOT API)

## Uses of Class
org.cloudbus.cloudsim.Vm

- Packages that use Vm
  Package | Description
  --- | ---
  org.cloudbus.cloudsim |
  org.cloudbus.cloudsim.lists |
  org.cloudbus.cloudsim.network.datacenter |
  org.cloudbus.cloudsim.power |
  org.cloudbus.cloudsim.power.lists |
  org.cloudbus.cloudsim.provisioners |
  org.cloudbus.cloudsim.workflow |

- - ### Uses of Vm in org.cloudbus.cloudsim

    Fields in org.cloudbus.cloudsim with type parameters of type Vm
    Modifier and Type | Field and Description
    --- | ---
    `protected List<? extends Vm>` | DatacenterBroker.`vmList` The vm list.
    `protected List<? extends Vm>` | DatacenterBroker.`vmsCreatedList` The vms created list.

    Methods in org.cloudbus.cloudsim with type parameters of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `<T extends Vm> List<T>` | DatacenterBroker.`getVmList()` Gets the vm list.
    `<T extends Vm> List<T>` | Host.`getVmList()` Gets the vm list.
    `<T extends Vm> List<T>` | Datacenter.`getVmList()` Gets the vm list.
    `<T extends Vm> List<T>` | DatacenterBroker.`getVmsCreatedList()` Gets the vm list.
    `protected <T extends Vm> void` | DatacenterBroker.`setVmList(List<T> vmList)` Sets the vm list.
    `protected <T extends Vm> void` | Datacenter.`setVmList(List<T> vmList)` Sets the vm list.
    `protected <T extends Vm> void` | DatacenterBroker.`setVmsCreatedList(List<T> vmsCreatedList)` Sets the vm list.

    Methods in org.cloudbus.cloudsim that return Vm
    Modifier and Type | Method and Description
    --- | ---
    `Vm` | Host.`getVm(int vmId, int userId)` Returns a VM object.

    Methods in org.cloudbus.cloudsim that return types with arguments of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `List<Vm>` | HostDynamicWorkload.`getCompletedVms()` Gets the completed vms.
    `List<Vm>` | Host.`getVmsMigratingIn()` Gets the vms migrating in.

    Methods in org.cloudbus.cloudsim with parameters of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `void` | Host.`addMigratingInVm(Vm vm)` Adds the migrating in vm.
    `abstract boolean` | VmAllocationPolicy.`allocateHostForVm(Vm vm)` Allocates a host for a given VM.
    `boolean` | VmAllocationPolicySimple.`allocateHostForVm(Vm vm)` Allocates a host for a given VM.
    `abstract boolean` | VmAllocationPolicy.`allocateHostForVm(Vm vm, Host host)` Allocates a specified host for a given VM.
    `boolean` | VmAllocationPolicySimple.`allocateHostForVm(Vm vm, Host host)`
    `boolean` | VmSchedulerTimeShared.`allocatePesForVm(Vm vm, List<Double> mipsShareRequested)`
    `boolean` | Host.`allocatePesForVm(Vm vm, List<Double> mipsShare)` Allocates PEs for a VM.
    `abstract boolean` | VmScheduler.`allocatePesForVm(Vm vm, List<Double> mipsShare)` Allocates PEs for a VM.
    `boolean` | VmSchedulerSpaceShared.`allocatePesForVm(Vm vm, List<Double> mipsShare)`
    `abstract void` | VmAllocationPolicy.`deallocateHostForVm(Vm vm)` Releases the host used by a VM.
    `void` | VmAllocationPolicySimple.`deallocateHostForVm(Vm vm)` Releases the host used by a VM.
    `void` | VmSchedulerTimeShared.`deallocatePesForVm(Vm vm)`
    `void` | Host.`deallocatePesForVm(Vm vm)` Releases PEs allocated to a VM.
    `abstract void` | VmScheduler.`deallocatePesForVm(Vm vm)` Releases PEs allocated to a VM.
    `void` | VmSchedulerSpaceShared.`deallocatePesForVm(Vm vm)`
    `boolean` | Host.`decreaseVMMipsToHostNewVm(Vm new_vm)` This methode modifies VMs size to fit them into one Host The VMs size have to be modified when at the same time there is : - their size (sum) is > than the Host capacity - a new VM has to be fitted into this Host
    `List<Double>` | Host.`getAllocatedMipsForVm(Vm vm)` Returns the MIPS share of each Pe that is allocated to a given VM.
    `List<Double>` | VmScheduler.`getAllocatedMipsForVm(Vm vm)` Returns the MIPS share of each Pe that is allocated to a given VM.
    `abstract Host` | VmAllocationPolicy.`getHost(Vm vm)` Get the host that is executing the given VM belonging to the given user.
    `Host` | VmAllocationPolicySimple.`getHost(Vm vm)` Gets the host that is executing the given VM belonging to the given user.
    `double` | HostDynamicWorkload.`getMaxUtilizationAmongVmsPes(Vm vm)` Gets the max utilization among by all PEs allocated to the VM.
    `List<Pe>` | VmScheduler.`getPesAllocatedForVM(Vm vm)` Gets the pes allocated for vm.
    `double` | Host.`getTotalAllocatedMipsForVm(Vm vm)` Gets the total allocated MIPS for a VM over all the PEs.
    `double` | VmScheduler.`getTotalAllocatedMipsForVm(Vm vm)` Gets the total allocated MIPS for a VM over all the PEs.
    `boolean` | Host.`isSuitableForVm(Vm vm)` Checks if is suitable for vm.
    `boolean` | Host.`MakeSuitableHostForVm(Vm vm)`
    `void` | Host.`regrowVmMipsAfterVmEnd(Vm vmFinished)` This method regrow VM size (maximum to their initial capacity) To use the Host at its maximum potential regarding the CPU frequency.
    `void` | Host.`removeMigratingInVm(Vm vm)` Removes the migrating in vm.
    `boolean` | Host.`vmCreate(Vm vm)` Allocates PEs and memory to a new VM in the Host.
    `protected void` | Host.`vmDeallocate(Vm vm)` Deallocate all hostList for the VM.
    `void` | Host.`vmDestroy(Vm vm)` Destroys a VM running in the host.

    Method parameters in org.cloudbus.cloudsim with type arguments of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `abstract List<Map<String,Object>>` | VmAllocationPolicy.`optimizeAllocation(List<? extends Vm> vmList)` Optimize allocation of the VMs according to current utilization.
    `List<Map<String,Object>>` | VmAllocationPolicySimple.`optimizeAllocation(List<? extends Vm> vmList)`
    `void` | DatacenterBroker.`submitVmList(List<? extends Vm> list)` This method is used to send to the broker the list with virtual machines that must be created.

  - ### Uses of Vm in org.cloudbus.cloudsim.lists

    Methods in org.cloudbus.cloudsim.lists with type parameters of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends Vm> T` | VmList.`getById(List<T> vmList, int id)` Return a reference to a Vm object from its ID.
    `static <T extends Vm> T` | VmList.`getByIdAndUserId(List<T> vmList, int id, int userId)` Return a reference to a Vm object from its ID and user ID.

    Methods in org.cloudbus.cloudsim.lists with parameters of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends Pe> double` | PeList.`getMaxUtilizationAmongVmsPes(List<Pe> peList, Vm vm)` Gets the max utilization among by all PEs allocated to the VM.

  - ### Uses of Vm in org.cloudbus.cloudsim.network.datacenter

    Subclasses of Vm in org.cloudbus.cloudsim.network.datacenter
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NetworkVm` NetworkVm class extends Vm to support simulation of networked datacenters.

    Fields in org.cloudbus.cloudsim.network.datacenter with type parameters of type Vm
    Modifier and Type | Field and Description
    --- | ---
    `List<Vm>` | Switch.`BagofTaskVm`

    Methods in org.cloudbus.cloudsim.network.datacenter with type parameters of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `<T extends Vm> List<T>` | NetworkDatacenterBrokerExtends.`getVmList()` Gets the vm list.
    `<T extends Vm> List<T>` | NetworkDatacenterBroker.`getVmList()` Gets the vm list.
    `<T extends Vm> List<T>` | NetworkDatacenterBrokerExtends.`getVmsCreatedList()` Gets the vm list.
    `<T extends Vm> List<T>` | NetworkDatacenterBroker.`getVmsCreatedList()` Gets the vm list.
    `protected <T extends Vm> void` | NetworkDatacenterBrokerExtends.`setVmList(List<T> vmList)` Sets the vm list.
    `protected <T extends Vm> void` | NetworkDatacenterBroker.`setVmList(List<T> vmList)` Sets the vm list.
    `protected <T extends Vm> void` | NetworkDatacenterBrokerExtends.`setVmsCreatedList(List<T> vmsCreatedList)` Sets the vm list.
    `protected <T extends Vm> void` | NetworkDatacenterBroker.`setVmsCreatedList(List<T> vmsCreatedList)` Sets the vm list.

    Methods in org.cloudbus.cloudsim.network.datacenter with parameters of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | NetworkVmAllocationPolicy.`allocateHostForVm(Vm vm)` Allocates a host for a given VM.
    `boolean` | NetworkVmAllocationPolicy.`allocateHostForVm(Vm vm, Host host)`
    `void` | NetworkVmAllocationPolicy.`deallocateHostForVm(Vm vm)` Releases the host used by a VM.
    `Host` | NetworkVmAllocationPolicy.`getHost(Vm vm)` Gets the host that is executing the given VM belonging to the given user.
    `protected double` | NetworkVmAllocationPolicy.`getMaxUtilizationAfterAllocation(NetworkHost host, Vm vm)`
    `double` | NetworkHost.`getMaxUtilizationAmongVmsPes(Vm vm)`
    `boolean` | NetworkDatacenter.`processVmCreateNetwork(Vm vm)` Create the VM within the NetworkDatacenter.

    Method parameters in org.cloudbus.cloudsim.network.datacenter with type arguments of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `List<Map<String,Object>>` | NetworkVmAllocationPolicy.`optimizeAllocation(List<? extends Vm> vmList)`
    `void` | NetworkDatacenterBroker.`submitVmList(List<? extends Vm> list)` This method is used to send to the broker the list with virtual machines that must be created.

  - ### Uses of Vm in org.cloudbus.cloudsim.power

    Subclasses of Vm in org.cloudbus.cloudsim.power
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PowerVm` The class of a VM that stores its CPU utilization history.

    Methods in org.cloudbus.cloudsim.power that return Vm
    Modifier and Type | Method and Description
    --- | ---
    `abstract Vm` | PowerVmSelectionPolicy.`getVmToMigrate(PowerHost host)` Gets the vms to migrate.
    `Vm` | PowerVmSelectionPolicyRandomSelection.`getVmToMigrate(PowerHost host)`
    `Vm` | PowerVmSelectionPolicyMaximumCorrelation.`getVmToMigrate(PowerHost host)`
    `Vm` | PowerVmSelectionPolicyMinimumUtilization.`getVmToMigrate(PowerHost host)`
    `Vm` | PowerVmSelectionPolicyMinimumMigrationTime.`getVmToMigrate(PowerHost host)`

    Methods in org.cloudbus.cloudsim.power that return types with arguments of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `protected List<? extends Vm>` | PowerVmAllocationPolicyMigrationAbstract.`getVmsToMigrateFromHosts(List<PowerHostUtilizationHistory> overUtilizedHosts)` Gets the vms to migrate from hosts.
    `protected List<? extends Vm>` | PowerVmAllocationPolicyMigrationAbstract.`getVmsToMigrateFromUnderUtilizedHost(PowerHost host)` Gets the vms to migrate from under utilized host.

    Methods in org.cloudbus.cloudsim.power with parameters of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | PowerVmAllocationPolicyAbstract.`allocateHostForVm(Vm vm)`
    `boolean` | PowerVmAllocationPolicySimpleWattPerMipsMetric.`allocateHostForVm(Vm vm)`
    `boolean` | PowerVmAllocationPolicyAbstract.`allocateHostForVm(Vm vm, Host host)`
    `void` | PowerVmAllocationPolicyAbstract.`deallocateHostForVm(Vm vm)`
    `PowerHost` | PowerVmAllocationPolicyDVFSDedicateNetworkDiskHost.`findCPUHostforVm(Vm vm)`
    `PowerHost` | PowerVmAllocationPolicyDVFSDedicateNetworkDiskHost.`findDISKHostforVm(Vm vm)`
    `PowerHost` | PowerVmAllocationPolicyAbstract.`findHostForVm(Vm vm)` Find host for vm.
    `PowerHost` | PowerVmAllocationPolicyDVFSMinimumUsedHost.`findHostForVm(Vm vm)` Find host for vm.
    `PowerHost` | PowerVmAllocationPolicyMigrationAbstract.`findHostForVm(Vm vm)` Find host for vm.
    `PowerHost` | PowerVmAllocationPolicyDVFSDedicateNetworkDiskHost.`findHostForVm(Vm vm)` Find host for vm.
    `PowerHost` | PowerVmAllocationPolicyMigrationAbstract.`findHostForVm(Vm vm, Set<? extends Host> excludedHosts)` Find host for vm.
    `PowerHost` | PowerVmAllocationPolicyDVFSDedicateNetworkDiskHost.`findNETHostforVm(Vm vm)`
    `Host` | PowerVmAllocationPolicyAbstract.`getHost(Vm vm)`
    `protected double` | PowerVmAllocationPolicyMigrationAbstract.`getMaxUtilizationAfterAllocation(PowerHost host, Vm vm)` Gets the power after allocation.
    `protected double` | PowerVmAllocationPolicyMigrationAbstract.`getPowerAfterAllocation(PowerHost host, Vm vm)` Gets the power after allocation.
    `protected boolean` | PowerVmAllocationPolicyMigrationAbstract.`isHostOverUtilizedAfterAllocation(PowerHost host, Vm vm)` Checks if is host over utilized after allocation.
    `PowerHost` | PowerVmAllocationPolicyAbstract.`TryDVFSEnableHost(PowerHost host, Vm vm)`

    Method parameters in org.cloudbus.cloudsim.power with type arguments of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `protected List<Map<String,Object>>` | PowerVmAllocationPolicyMigrationAbstract.`getNewVmPlacement(List<? extends Vm> vmsToMigrate, Set<? extends Host> excludedHosts)` Gets the new vm placement.
    `protected List<Map<String,Object>>` | PowerVmAllocationPolicyMigrationAbstract.`getNewVmPlacementFromUnderUtilizedHost(List<? extends Vm> vmsToMigrate, Set<? extends Host> excludedHosts)` Gets the new vm placement from under utilized host.
    `List<Map<String,Object>>` | PowerVmAllocationPolicySimpleWattPerMipsMetric.`optimizeAllocation(List<? extends Vm> vmList)`
    `List<Map<String,Object>>` | PowerVmAllocationPolicyDVFSMinimumUsedHost.`optimizeAllocation(List<? extends Vm> vmList)`
    `List<Map<String,Object>>` | PowerVmAllocationPolicyMigrationAbstract.`optimizeAllocation(List<? extends Vm> vmList)` Optimize allocation of the VMs according to current utilization.
    `List<Map<String,Object>>` | PowerVmAllocationPolicySimple.`optimizeAllocation(List<? extends Vm> vmList)`
    `List<Map<String,Object>>` | PowerVmAllocationPolicyDVFSDedicateNetworkDiskHost.`optimizeAllocation(List<? extends Vm> vmList)`

  - ### Uses of Vm in org.cloudbus.cloudsim.power.lists

    Methods in org.cloudbus.cloudsim.power.lists with type parameters of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends Vm> void` | PowerVmList.`sortByCpuUtilization(List<T> vmList)` Sort by cpu utilization.

  - ### Uses of Vm in org.cloudbus.cloudsim.provisioners

    Methods in org.cloudbus.cloudsim.provisioners with parameters of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | BwProvisionerSimple.`allocateBwForVm(Vm vm, long bw)`
    `abstract boolean` | BwProvisioner.`allocateBwForVm(Vm vm, long bw)` Allocates BW for a given VM.
    `boolean` | PeProvisionerSimple.`allocateMipsForVm(Vm vm, double mips)`
    `abstract boolean` | PeProvisioner.`allocateMipsForVm(Vm vm, double mips)` Allocates MIPS for a given VM.
    `boolean` | PeProvisionerSimple.`allocateMipsForVm(Vm vm, List<Double> mips)`
    `abstract boolean` | PeProvisioner.`allocateMipsForVm(Vm vm, List<Double> mips)` Allocates MIPS for a given VM.
    `abstract boolean` | RamProvisioner.`allocateRamForVm(Vm vm, int ram)` Allocates RAM for a given VM.
    `boolean` | RamProvisionerSimple.`allocateRamForVm(Vm vm, int ram)`
    `void` | BwProvisionerSimple.`deallocateBwForVm(Vm vm)`
    `abstract void` | BwProvisioner.`deallocateBwForVm(Vm vm)` Releases BW used by a VM.
    `void` | PeProvisionerSimple.`deallocateMipsForVm(Vm vm)`
    `abstract void` | PeProvisioner.`deallocateMipsForVm(Vm vm)` Releases MIPS used by a VM.
    `abstract void` | RamProvisioner.`deallocateRamForVm(Vm vm)` Releases BW used by a VM.
    `void` | RamProvisionerSimple.`deallocateRamForVm(Vm vm)`
    `long` | BwProvisionerSimple.`getAllocatedBwForVm(Vm vm)`
    `abstract long` | BwProvisioner.`getAllocatedBwForVm(Vm vm)` Gets the allocated BW for VM.
    `List<Double>` | PeProvisionerSimple.`getAllocatedMipsForVm(Vm vm)`
    `abstract List<Double>` | PeProvisioner.`getAllocatedMipsForVm(Vm vm)` Gets allocated MIPS for a given VM.
    `double` | PeProvisionerSimple.`getAllocatedMipsForVmByVirtualPeId(Vm vm, int peId)`
    `abstract double` | PeProvisioner.`getAllocatedMipsForVmByVirtualPeId(Vm vm, int peId)` Gets allocated MIPS for a given VM for a given virtual Pe.
    `abstract int` | RamProvisioner.`getAllocatedRamForVm(Vm vm)` Gets the allocated RAM for VM.
    `int` | RamProvisionerSimple.`getAllocatedRamForVm(Vm vm)`
    `double` | PeProvisionerSimple.`getTotalAllocatedMipsForVm(Vm vm)`
    `abstract double` | PeProvisioner.`getTotalAllocatedMipsForVm(Vm vm)` Gets total allocated MIPS for a given VM for all PEs.
    `abstract boolean` | RamProvisioner.`isSuitableForVm(Vm vm, int ram)` Checks if is suitable for vm.
    `boolean` | RamProvisionerSimple.`isSuitableForVm(Vm vm, int ram)`
    `boolean` | BwProvisionerSimple.`isSuitableForVm(Vm vm, long bw)`
    `abstract boolean` | BwProvisioner.`isSuitableForVm(Vm vm, long bw)` Checks if BW is suitable for vm.

  - ### Uses of Vm in org.cloudbus.cloudsim.workflow

    Methods in org.cloudbus.cloudsim.workflow that return Vm
    Modifier and Type | Method and Description
    --- | ---
    `Vm` | DvfsPolicy.`findBestAvailableVm(Task ti)`
    `Vm` | DvfsPolicy_2.`findBestAvailableVm(Task task)`
    `Vm` | ProvisionedVm.`getVm()`
    `Vm` | TimeSlot.`getVm()`

    Methods in org.cloudbus.cloudsim.workflow that return types with arguments of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `abstract Hashtable<Vm,Integer>` | VMOffers.`getVmOffers()` Returns the instances offered by the provider, and the respective prices per time slot (in cents).
    `Hashtable<Vm,Integer>` | VmOffersSimple.`getVmOffers()`

    Method parameters in org.cloudbus.cloudsim.workflow with type arguments of type Vm
    Modifier and Type | Method and Description
    --- | ---
    `int` | OffersComparator.`compare(Map.Entry<Vm,Integer> o1, Map.Entry<Vm,Integer> o2)`
    `int` | OffersComparator.`compare(Map.Entry<Vm,Integer> o1, Map.Entry<Vm,Integer> o2)`

    Constructors in org.cloudbus.cloudsim.workflow with parameters of type Vm
    Constructor and Description
    `ProvisionedVm(Vm vm, long startTime, long endTime, int cost)`
    `TimeSlot(Vm vm, long startTime, long endTime, boolean alreadyPaid)`

Copyright © 2013 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.