Class SimulatedLinkingResourceContainer
java.lang.Object
de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer
de.uka.ipd.sdq.simucomframework.resources.SimulatedLinkingResourceContainer
TODO Add original author
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer
activeResourceProvidedInterfaces, activeResources, LOGGER, myContainerID, myModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addActiveResource
(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource, String resourceContainerID) addActiveResourceWithoutCalculators
(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource, String resourceContainerID) Retrieves the id of the first (i.e.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 Details
-
SimulatedLinkingResourceContainer
-
-
Method Details
-
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
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
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
-