Package de.uka.ipd.sdq.scheduler
Interface IRunningProcess
- All Superinterfaces:
de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
public interface IRunningProcess
extends de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
In oder to be scheduled properly, processes need some additional runtime information. Runnable
processes provide exactly this necessary information. All processes that implement the
ISchedulableProcess can be wrapped by this class.
-
Field Summary
Fields inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
NULL
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStateSensor
(IProcessStateSensor sensor) Observer pattern.getId()
getName()
void
removeStateSensor
(IProcessStateSensor sensor) Observer pattern.Methods inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
isScheduled, reschedule
-
Method Details
-
getSchedulableProcess
ISchedulableProcess getSchedulableProcess()- Returns:
- Returns the process wrapped by this instance.
-
getName
String getName()- Returns:
- Returns the name of this process.
-
getId
String getId()- Returns:
- Returns the unique identifier of the process.
-
addStateSensor
Observer pattern. Adds a new state sensor to the process.- Parameters:
sensor
-
-
removeStateSensor
Observer pattern. Removes a state sensor from the process.- Parameters:
sensor
-
-