Class SimulatedBasicComponentInstance
- java.lang.Object
-
- org.palladiosimulator.simulizar.runtimestate.SimulatedComponentInstance
-
- org.palladiosimulator.simulizar.runtimestate.SimulatedBasicComponentInstance
-
public class SimulatedBasicComponentInstance extends SimulatedComponentInstance
-
-
Constructor Summary
Constructors Constructor Description SimulatedBasicComponentInstance(InterpreterDefaultContext context, FQComponentID fqID, List<org.palladiosimulator.pcm.repository.PassiveResource> passiveResources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acquirePassiveResource(org.palladiosimulator.pcm.repository.PassiveResource passiveResource, InterpreterDefaultContext context, boolean timeout, double timeoutValue)
void
cleanUp()
Called upon shut down of the simulation in order to notify component instances of the necessity to clean up simulation runtime state (e.g.long
getAvailablePassiveResource(org.palladiosimulator.pcm.repository.PassiveResource passiveResource, InterpreterDefaultContext context)
void
releasePassiveResource(org.palladiosimulator.pcm.repository.PassiveResource passiveResource, InterpreterDefaultContext context)
-
Methods inherited from class org.palladiosimulator.simulizar.runtimestate.SimulatedComponentInstance
getFqn, getRuntimeState
-
-
-
-
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 classSimulatedComponentInstance
-
-