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
public class DesmoJSimProcess extends SimulatedProcess
-
-
Field Summary
-
Fields inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.processes.SimulatedProcess
listeners, LOGGER, myProcessState, processStrategy
-
-
Constructor Summary
Constructors Constructor Description DesmoJSimProcess(AbstractSimProcessDelegator process, DesmoJModel model, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractSimProcessDelegator
getAbstractProcess()
boolean
isScheduled()
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 Detail
-
DesmoJSimProcess
public DesmoJSimProcess(AbstractSimProcessDelegator process, DesmoJModel model, String name)
-
-
Method Detail
-
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
protected AbstractSimProcessDelegator getAbstractProcess()
- Specified by:
getAbstractProcess
in classSimulatedProcess
-
isScheduled
public boolean isScheduled()
-
reschedule
public void reschedule(double delay)
-
-