Package org.cloudbus.cloudsim.core
Interface CustomerEntity
-
- All Superinterfaces:
ChangeableId
,Delayable
,Identifiable
,UniquelyIdentifiable
- All Known Implementing Classes:
CloudletAbstract
,CloudletSimple
,CustomerEntityAbstract
,NetworkCloudlet
,NetworkVm
,VmSimple
public interface CustomerEntity extends UniquelyIdentifiable, ChangeableId, Delayable
- Author:
- raysaoliveira
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DatacenterBroker
getBroker()
Gets theDatacenterBroker
that represents the owner of this object.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.-
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 Detail
-
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
void setBroker(DatacenterBroker broker)
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:
-
-