Class ProceedEvent
- java.lang.Object
-
- de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
-
- de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator<IActiveProcess>
-
- edu.kit.ipd.sdq.pcm.simulation.scheduler.exact.events.ProceedEvent
-
- All Implemented Interfaces:
de.uka.ipd.sdq.simulation.abstractsimengine.ISimEvent<IActiveProcess>
,de.uka.ipd.sdq.simulation.abstractsimengine.ISimRunnable<IActiveProcess>
public class ProceedEvent extends de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator<IActiveProcess>
Event to proceed the activity of a process. This event requires, that at the time it happens, the current demand of the process is zero, thus all former actions of the process have been finished. This event can either continue the process directly or execute a delayed action of the process. Delayed actions are activities that are executed by the scheduler (e.g. some housekeeping or asking for access to a passive resource) but require the process to be running. DelayedActions have priority of the proceeding of the process as they have to be finished in oder to continue process execution.
-
-
Field Summary
Fields Modifier and Type Field Description protected IScheduler
scheduler
-
Constructor Summary
Constructors Constructor Description ProceedEvent(de.uka.ipd.sdq.scheduler.SchedulerModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
eventRoutine(IActiveProcess process)
void
setDelayedAction(IDelayedAction action)
void
setScheduler(IScheduler scheduler)
-
Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator
removeEvent, schedule, scheduledAtTime
-
-
-
-
Field Detail
-
scheduler
protected IScheduler scheduler
-
-
Method Detail
-
setDelayedAction
public void setDelayedAction(IDelayedAction action)
-
eventRoutine
public void eventRoutine(IActiveProcess process)
-
setScheduler
public void setScheduler(IScheduler scheduler)
-
-