Class SimHDDActiveResource
- java.lang.Object
-
- de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
-
- de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEntityDelegator
-
- edu.kit.ipd.sdq.eventsim.entities.EventSimEntity
-
- edu.kit.ipd.sdq.eventsim.resources.entities.AbstractActiveResource
-
- edu.kit.ipd.sdq.eventsim.resources.entities.SimActiveResource
-
- edu.kit.ipd.sdq.eventsim.resources.entities.SimHDDActiveResource
-
- All Implemented Interfaces:
de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
public class SimHDDActiveResource extends SimActiveResource
An active resource which can process HDD read and write requests.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.kit.ipd.sdq.eventsim.entities.EventSimEntity
EventSimEntity.EntityLifecyclePhase
-
-
Field Summary
-
Fields inherited from class edu.kit.ipd.sdq.eventsim.resources.entities.AbstractActiveResource
schedulerResource
-
-
Constructor Summary
Constructors Constructor Description SimHDDActiveResource(de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationModel model, de.uka.ipd.sdq.scheduler.IActiveResource resource, String processingRate, int numberOfInstances, org.palladiosimulator.pcm.resourcetype.SchedulingPolicy schedulingStrategy, org.palladiosimulator.pcm.resourceenvironment.HDDProcessingResourceSpecification specification, String writeProcessingRate, String readProcessingRate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
calculateConcreteDemand(double abstractDemand, int resourceServiceId)
-
Methods inherited from class edu.kit.ipd.sdq.eventsim.resources.entities.SimActiveResource
getId, getName, getResourceContainer, getResourceType
-
Methods inherited from class edu.kit.ipd.sdq.eventsim.resources.entities.AbstractActiveResource
addDemandListener, addStateListener, consumeResource, deactivateResource, fireDemand, fireStateEvent, getNumberOfInstances, getQueueLength, getSchedulingStrategy, setupStateListenerAdapter
-
Methods inherited from class edu.kit.ipd.sdq.eventsim.entities.EventSimEntity
addEntityListener, equals, getEntityId, getLifecyclePhase, hashCode, notifyEnteredSystem, notifyLeftSystem, removeEntityListener, resetIdGenerator, toString
-
-
-
-
Constructor Detail
-
SimHDDActiveResource
@Inject public SimHDDActiveResource(de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationModel model, de.uka.ipd.sdq.scheduler.IActiveResource resource, String processingRate, int numberOfInstances, org.palladiosimulator.pcm.resourcetype.SchedulingPolicy schedulingStrategy, org.palladiosimulator.pcm.resourceenvironment.HDDProcessingResourceSpecification specification, String writeProcessingRate, String readProcessingRate)
-
-
Method Detail
-
calculateConcreteDemand
protected double calculateConcreteDemand(double abstractDemand, int resourceServiceId)
- Overrides:
calculateConcreteDemand
in classSimActiveResource
-
-