Class SimulatedLinkingResourceContainer
- java.lang.Object
-
- de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer
-
- de.uka.ipd.sdq.simucomframework.resources.SimulatedLinkingResourceContainer
-
public class SimulatedLinkingResourceContainer extends AbstractSimulatedResourceContainer
TODO Add original author
-
-
Field Summary
-
Fields inherited from class de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer
activeResourceProvidedInterfaces, activeResources, LOGGER, myContainerID, myModel
-
-
Constructor Summary
Constructors Constructor Description SimulatedLinkingResourceContainer(SimuComModel myModel, String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addActiveResource(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource, String resourceContainerID)
SimulatedLinkingResource
addActiveResourceWithoutCalculators(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource, String resourceContainerID)
String
getLinkingResourceId()
Retrieves the id of the first (i.e.String
getLinkingResourceTypeId()
Retrieves the id of the resource type of the first (i.e.void
loadActiveResource(SimuComSimProcess requestingProcess, String originResourceContainerID, String typeID, double demand)
-
Methods inherited from class de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer
getActiveResources, getAllActiveResources, getFailedResources, getResourceContainerID, loadActiveResource, loadActiveResource, loadActiveResource, loadActiveResource
-
-
-
-
Constructor Detail
-
SimulatedLinkingResourceContainer
public SimulatedLinkingResourceContainer(SimuComModel myModel, String id)
-
-
Method Detail
-
addActiveResourceWithoutCalculators
public SimulatedLinkingResource addActiveResourceWithoutCalculators(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource, String resourceContainerID)
-
addActiveResource
public void addActiveResource(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource, String resourceContainerID)
-
getLinkingResourceId
public String getLinkingResourceId()
Retrieves the id of the first (i.e. the one and only) communication link resource specification.- Returns:
- the id of the communication link resource specification
-
loadActiveResource
public void loadActiveResource(SimuComSimProcess requestingProcess, String originResourceContainerID, String typeID, double demand)
-
getLinkingResourceTypeId
public String getLinkingResourceTypeId()
Retrieves the id of the resource type of the first (i.e. the one and only) communication link resource specification.- Returns:
- the resource type id
-
-