Class SimulatedBasicComponentInstance

    • Constructor Detail

      • SimulatedBasicComponentInstance

        public SimulatedBasicComponentInstance​(InterpreterDefaultContext context,
                                               FQComponentID fqID,
                                               List<org.palladiosimulator.pcm.repository.PassiveResource> passiveResources)
    • 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