Class DatacenterBrokerSimple

All Implemented Interfaces:
Cloneable, Comparable<SimEntity>, Runnable, DatacenterBroker, Identifiable, Nameable, SimEntity
Direct Known Subclasses:
DatacenterBrokerBestFit, DatacenterBrokerFirstFit, DatacenterBrokerHeuristic

public class DatacenterBrokerSimple
extends DatacenterBrokerAbstract
A simple implementation of DatacenterBroker that try to host customer's VMs at the first Datacenter found. If there isn't capacity in that one, it will try the other ones.

The default selection of VMs for each cloudlet is based on a Round-Robin policy, cyclically selecting the next VM from the broker VM list for each requesting cloudlet. However, when selection of the closest datacenter is enabled, the broker will try to place each VM at the closest Datacenter as possible, according to their timezone.

Such a policy doesn't check if the selected VM is really suitable for the Cloudlet and may not provide an optimal mapping.

Since:
CloudSim Toolkit 1.0
Author:
Rodrigo N. Calheiros, Anton Beloglazov, Manoel Campos da Silva Filho
See Also:
DatacenterBrokerFirstFit, DatacenterBrokerBestFit, DatacenterBrokerHeuristic