Interface CustomerEntity

All Superinterfaces:
ChangeableId, Delayable, Identifiable, UniquelyIdentifiable
All Known Subinterfaces:
Cloudlet, Vm
All Known Implementing Classes:
CloudletAbstract, CloudletSimple, CustomerEntityAbstract, NetworkCloudlet, NetworkVm, VmGroup, VmSimple

public interface CustomerEntity
extends UniquelyIdentifiable, ChangeableId, Delayable
Represents an object that is owned by a DatacenterBroker, namely Vm and Cloudlet.
Author:
raysaoliveira
  • Method Details

    • getBroker

      DatacenterBroker getBroker()
      Gets the DatacenterBroker that represents the owner of this object.
      Returns:
      the broker or DatacenterBroker.NULL if a broker has not been set yet
    • setBroker

      void setBroker​(DatacenterBroker broker)
      Sets a DatacenterBroker that represents the owner of this object.
      Parameters:
      broker - the DatacenterBroker to set
    • getSimulation

      Simulation getSimulation()
      Gets the CloudSim instance that represents the simulation the Entity is related to.
      Returns:
    • setLastTriedDatacenter

      void setLastTriedDatacenter​(Datacenter lastTriedDatacenter)
      Sets the last Datacenter where VM was tried to be created.
      Parameters:
      lastTriedDatacenter -
    • getLastTriedDatacenter

      Datacenter getLastTriedDatacenter()
      Gets the last Datacenter where VM was tried to be created.