Class SimulatedBasicComponentInstance

java.lang.Object
org.palladiosimulator.simulizar.runtimestate.SimulatedComponentInstance
org.palladiosimulator.simulizar.runtimestate.SimulatedBasicComponentInstance

public class SimulatedBasicComponentInstance extends SimulatedComponentInstance
  • Constructor Details

    • 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 Details

    • 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