Class AssemblyAllocationManager

    • Constructor Detail

      • AssemblyAllocationManager

        @Inject
        public AssemblyAllocationManager()
    • Method Detail

      • getAllocatedEntity

        public EntityReference<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer> getAllocatedEntity​(String assemblyContextId)
        Returns the simulated resource container to which the provided assembly is allocated to. If the assembly is not allocated directly, but through a hierarchy of CompositeComponents, the lookup needs to be done using the string representation of the FQComponentID.
        Specified by:
        getAllocatedEntity in interface de.uka.ipd.sdq.simucomframework.resources.IAssemblyAllocationLookup<EntityReference<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer>>
        Returns:
        the simulated resource container
      • allocateAssembly

        public void allocateAssembly​(String fqid,
                                     EntityReference<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer> rcRef)
      • deallocateAssembly

        public void deallocateAssembly​(String fqid)