Class DesmoJSimProcess
java.lang.Object
de.uka.ipd.sdq.simulation.abstractsimengine.processes.SimulatedProcess
de.uka.ipd.sdq.simulation.abstractsimengine.desmoj.DesmoJSimProcess
- All Implemented Interfaces:
IEntity
,ISimProcess
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.processes.SimulatedProcess
listeners, LOGGER, myProcessState, processStrategy
-
Constructor Summary
ConstructorDescriptionDesmoJSimProcess
(AbstractSimProcessDelegator process, DesmoJModel model, String name) -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractSimProcessDelegator
boolean
void
passivate
(double delay) Puts the process asleep and resumes after waitingdelay
simulated time units.void
reschedule
(double delay) void
scheduleAt
(double delay) Resumes the process after waitingdelay
simulated time units.Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.processes.SimulatedProcess
actions, addProcessListener, isTerminated, notifyListeners, passivate, preempt, removeProcessListener, resume, startProcess, suspend
-
Constructor Details
-
DesmoJSimProcess
-
-
Method Details
-
scheduleAt
public void scheduleAt(double delay) Description copied from interface:ISimProcess
Resumes the process after waitingdelay
simulated time units.- Parameters:
delay
- the period of simulated time to wait before this process is activated again.
-
passivate
public void passivate(double delay) Description copied from interface:ISimProcess
Puts the process asleep and resumes after waitingdelay
simulated time units.- Parameters:
delay
- the period of simulated time to wait before this process is activated again.
-
getAbstractProcess
- Specified by:
getAbstractProcess
in classSimulatedProcess
-
isScheduled
public boolean isScheduled() -
reschedule
public void reschedule(double delay)
-