Class SSJSimProcess
java.lang.Object
de.uka.ipd.sdq.simulation.abstractsimengine.processes.SimulatedProcess
org.palladiosimulator.simulation.abstractsimengine.ssj.SSJSimProcess
- All Implemented Interfaces:
IEntity
,ISimProcess
Simulation Process implementation for SSJ
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.apache.log4j.Logger
Underlying abstract simulation processFields inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.processes.SimulatedProcess
listeners, LOGGER, myProcessState, processStrategy
-
Constructor Summary
ConstructorDescriptionSSJSimProcess
(AbstractSimProcessDelegator myProcess, String name) Constructor -
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
-
Field Details
-
logger
public static final org.apache.log4j.Logger logger -
myAbstractProcess
Underlying abstract simulation process
-
-
Constructor Details
-
SSJSimProcess
Constructor- Parameters:
myProcess
- Underlying abstract sim processname
- an ID
-
-
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)
-