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.
  • 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

      void addStateSensor(IProcessStateSensor sensor)
      Observer pattern. Adds a new state sensor to the process.
      Parameters:
      sensor -
    • removeStateSensor

      void removeStateSensor(IProcessStateSensor sensor)
      Observer pattern. Removes a state sensor from the process.
      Parameters:
      sensor -