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