Interface PowerAware<T extends PowerModel>
- Type Parameters:
T- type of thePowerModelobjects the entity will use.
- All Known Subinterfaces:
Datacenter,Host
- All Known Implementing Classes:
DatacenterSimple,HostAbstract,HostSimple,NetworkDatacenter,NetworkHost
public interface PowerAware<T extends PowerModel>
Interface for power-aware entities such as
Hosts, Datacenters
and other entities that can be introduced.- Since:
- CloudSim Plus 6.0.0
-
Method Summary
Modifier and TypeMethodDescriptionsetPowerModel(T powerModel) Sets the model defining how the entity consumes power.
-
Method Details
-
getPowerModel
T getPowerModel()- Returns:
- the model defining how the entity consumes power.
-
setPowerModel
Sets the model defining how the entity consumes power.- Parameters:
powerModel- the model to set
-