public interface ComputingProvisioner extends Provisioner<ComputingOperation,ComputingResource>
Modifier and Type | Method and Description |
---|---|
ComputingProvisioner |
clone()
Creates a clone of this entity and sets its parent to null.
|
long |
getCapacity()
Returns the total mips (number of
Simulator.MI per one Simulator.SECOND ) capacity of the processing unit. |
getResourcePromise, grantAllocatedResource, revokeAllocatedResource
addEntity, getConfig, getConfigRec, getEntities, getId, getLogger, getName, getParent, getProperties, getProperty, getProperty, hasParentRec, lockParent, lockParentRec, removeEntity, setConfig, setName, setParent, setProperty, unlockParent, unlockParentRec, unsetProperty
addGlobalListener, addListener, cancelNotifications, cleanupListeners, disableNotifications, enableNotifications, getGlobalListeners, getListeners, isNotificationsDisabled, notify, notifyNow, removeAllGlobalListeners, removeAllListeners, removeAllListeners, removeGlobalListener, removeListener
addProbe, getProbe, getProbe, getProbes, removeProbe, removeProbe
ComputingProvisioner clone()
Entity
This is a deep clone method which also clones almost all children entities and sets their parents
to the newly created clone.
The only children which are not cloned are those implementing the UncloneableEntity
interface.
Implementations must ensure that the new clone will be independent from the current entity.
clone
in interface Entity
clone
in interface Notifier
clone
in interface Provisioner<ComputingOperation,ComputingResource>
long getCapacity()
Simulator.MI
per one Simulator.SECOND
) capacity of the processing unit.Simulator.MI
per one Simulator.SECOND
) capacity of the processing unit