Class SimulatedBasicComponentInstance

    • Constructor Detail

      • SimulatedBasicComponentInstance

        @AssistedInject
        public SimulatedBasicComponentInstance​(@Assisted
                                               InterpreterDefaultContext context,
                                               @Assisted
                                               FQComponentID fqID,
                                               @Assisted
                                               List<org.palladiosimulator.pcm.repository.PassiveResource> passiveResources,
                                               de.uka.ipd.sdq.simucomframework.model.SimuComModel simuComModel,
                                               org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition partition,
                                               CalculatorFactoryFacade calcFactory)
    • Method Detail

      • acquirePassiveResource

        public void acquirePassiveResource​(org.palladiosimulator.pcm.repository.PassiveResource passiveResource,
                                           InterpreterDefaultContext context,
                                           boolean timeout,
                                           double timeoutValue)
      • releasePassiveResource

        public void releasePassiveResource​(org.palladiosimulator.pcm.repository.PassiveResource passiveResource,
                                           InterpreterDefaultContext context)
      • getAvailablePassiveResource

        public long getAvailablePassiveResource​(org.palladiosimulator.pcm.repository.PassiveResource passiveResource,
                                                InterpreterDefaultContext context)
      • cleanUp

        public void cleanUp()
        Description copied from class: SimulatedComponentInstance
        Called upon shut down of the simulation in order to notify component instances of the necessity to clean up simulation runtime state (e.g. passive resources)
        Overrides:
        cleanUp in class SimulatedComponentInstance