Class ForkedBehaviourProcess
java.lang.Object
de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEntityDelegator
de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimProcessDelegator
de.uka.ipd.sdq.simucomframework.SimuComSimProcess
de.uka.ipd.sdq.simucomframework.fork.ForkedBehaviourProcess
- All Implemented Interfaces:
de.uka.ipd.sdq.scheduler.ISchedulableProcess
,de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
,de.uka.ipd.sdq.simulation.abstractsimengine.ISimProcess
,de.uka.ipd.sdq.simulation.abstractsimengine.ISimProcessListener
Base class for ForkBehaviours. Generator creates a specialisation of this and uses it to execute
actions in parallel
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.simucomframework.SimuComSimProcess
currentSessionId
Fields inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
NULL
-
Constructor Summary
ConstructorDescriptionForkedBehaviourProcess
(Context context, String assemblyContextID, boolean isAsync, int priority, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager) ForkedBehaviourProcess
(Context context, String assemblyContextID, boolean isAsync, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected SimuComContext
createForkContext
(Context context) Factory method for the fork context used in the forked behaviourprotected abstract void
Template method filled by the generate with the parallel behaviour specified in the PCM's fork actionprotected void
boolean
isAsync()
boolean
Methods inherited from class de.uka.ipd.sdq.simucomframework.SimuComSimProcess
activate, addProcessToSimStatus, addTerminatedObserver, fireTerminated, getCurrentSessionId, getModel, getPriority, getRequestContext, getRootProcess, getSimProcessStatus, hold, isFinished, lifeCycle, notifyResuming, notifySuspending, notifyTerminated, removeProcessFromSimStatus, removeTerminatedObserver, setPriority, timeout, updateNewSessionID
Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimProcessDelegator
addProcessListener, getId, getRawId, passivate, passivate, preempt, removeProcessListener, scheduleAt
Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEntityDelegator
getEncapsulatedEntity, isScheduled, reschedule
Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
isScheduled, reschedule
Methods inherited from interface de.uka.ipd.sdq.scheduler.ISchedulableProcess
getId, passivate
-
Field Details
-
forkContext
-
assemblyContextID
-
-
Constructor Details
-
ForkedBehaviourProcess
-
ForkedBehaviourProcess
-
-
Method Details
-
createForkContext
Factory method for the fork context used in the forked behaviour- Parameters:
context
-- Returns:
-
internalLifeCycle
protected void internalLifeCycle()- Specified by:
internalLifeCycle
in classSimuComSimProcess
-
executeBehaviour
protected abstract void executeBehaviour()Template method filled by the generate with the parallel behaviour specified in the PCM's fork action -
isAsync
public boolean isAsync() -
isTerminated
public boolean isTerminated()- Specified by:
isTerminated
in interfacede.uka.ipd.sdq.simulation.abstractsimengine.ISimProcess
- Overrides:
isTerminated
in classde.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimProcessDelegator
-