Class VmAllocationPolicyAbstract

java.lang.Object
org.cloudbus.cloudsim.allocationpolicies.VmAllocationPolicyAbstract
All Implemented Interfaces:
VmAllocationPolicy
Direct Known Subclasses:
VmAllocationPolicyBestFit, VmAllocationPolicyFirstFit, VmAllocationPolicyMigrationAbstract, VmAllocationPolicyRandom, VmAllocationPolicyRoundRobin, VmAllocationPolicySimple, VmAllocationPolicyWorstFit

public abstract class VmAllocationPolicyAbstract
extends java.lang.Object
implements VmAllocationPolicy
An abstract class that represents the policy used by a Datacenter to choose a Host to place or migrate a given Vm. It supports two-stage commit of reservation of hosts: first, we reserve the Host and, once committed by the customer, the VM is effectively allocated to that Host.

Each Datacenter must to have its own instance of a VmAllocationPolicy.

Since:
CloudSim Toolkit 1.0
Author:
Rodrigo N. Calheiros, Anton Beloglazov, Manoel Campos da Silva Filho