Package org.cloudbus.cloudsim.core
Interface CustomerEntity
- All Superinterfaces:
ChangeableId
,Delayable
,Identifiable
,UniquelyIdentifiable
- All Known Implementing Classes:
CloudletAbstract
,CloudletSimple
,CustomerEntityAbstract
,NetworkCloudlet
,NetworkVm
,VmGroup
,VmSimple
public interface CustomerEntity extends UniquelyIdentifiable, ChangeableId, Delayable
- Author:
- raysaoliveira
-
Method Summary
Modifier and Type Method Description DatacenterBroker
getBroker()
Gets theDatacenterBroker
that represents the owner of this object.Datacenter
getLastTriedDatacenter()
Gets the last Datacenter where VM was tried to be created.Simulation
getSimulation()
Gets the CloudSim instance that represents the simulation the Entity is related to.void
setBroker(DatacenterBroker broker)
Sets aDatacenterBroker
that represents the owner of this object.void
setLastTriedDatacenter(Datacenter lastTriedDatacenter)
Sets the last Datacenter where VM was tried to be created.Methods inherited from interface org.cloudbus.cloudsim.core.ChangeableId
setId
Methods inherited from interface org.cloudbus.cloudsim.core.Delayable
getSubmissionDelay, setSubmissionDelay
Methods inherited from interface org.cloudbus.cloudsim.core.Identifiable
getId
Methods inherited from interface org.cloudbus.cloudsim.core.UniquelyIdentifiable
getUid
-
Method Details
-
getBroker
DatacenterBroker getBroker()Gets theDatacenterBroker
that represents the owner of this object.- Returns:
- the broker or
DatacenterBroker.NULL
if a broker has not been set yet
-
setBroker
Sets aDatacenterBroker
that represents the owner of this object.- Parameters:
broker
- theDatacenterBroker
to set
-
getSimulation
Simulation getSimulation()Gets the CloudSim instance that represents the simulation the Entity is related to.- Returns:
-
setLastTriedDatacenter
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.
-