Class ReconfigurationProcess

  • All Implemented Interfaces:
    de.uka.ipd.sdq.scheduler.ISchedulableProcess, de.uka.ipd.sdq.simulation.abstractsimengine.IEntity, de.uka.ipd.sdq.simulation.abstractsimengine.ISimProcess, de.uka.ipd.sdq.simulation.abstractsimengine.ISimProcessListener

    public class ReconfigurationProcess
    extends de.uka.ipd.sdq.simucomframework.SimuComSimProcess
    SimuComSimProcess implementation which is responsible for executing reconfigurations during Simulizar runs.
    See Also:
    Reconfigurator, IReconfigurator
    • Field Summary

      • Fields inherited from class de.uka.ipd.sdq.simucomframework.SimuComSimProcess

        currentSessionId, LOGGER
      • Fields inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.IEntity

        NULL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activate()  
      void appendReconfigurationNotification​(Notification notification)
      Appends the given notification about model change due to a reconfiguration that takes place.
      protected void internalLifeCycle()  
      void reschedule​(double d)  
      • Methods inherited from class de.uka.ipd.sdq.simucomframework.SimuComSimProcess

        addProcessToSimStatus, addTerminatedObserver, fireTerminated, getCurrentSessionId, getModel, getPriority, getRequestContext, getRootProcess, getSimProcessStatus, hold, isFinished, lifeCycle, notifyResuming, notifySuspending, notifyTerminated, removeProcessFromSimStatus, removeTerminatedObserver, setPriority, timeout, updateNewSessionID
      • Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimProcessDelegator

        addProcessListener, getId, getRawId, isTerminated, passivate, passivate, preempt, removeProcessListener, scheduleAt
      • Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEntityDelegator

        getEncapsulatedEntity, isScheduled
      • Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement

        getName
      • Methods inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.IEntity

        isScheduled
      • Methods inherited from interface de.uka.ipd.sdq.scheduler.ISchedulableProcess

        getId, passivate
    • Constructor Detail

      • ReconfigurationProcess

        protected ReconfigurationProcess​(de.uka.ipd.sdq.simucomframework.model.SimuComModel model,
                                         Iterable<IReconfigurationEngine> reconfigurators,
                                         Reconfigurator reconfigurator,
                                         de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
        Initializes a new instance of the ReconfigurationProcess class.
        Parameters:
        model - The SimuComModel that is in used during the current simulation run.
        reconfigurators - An Iterable containing all IReconfigurator that shall be used.
        reconfigurator - The Reconfigurator instance that manages and triggers reconfigurations.
        Throws:
        NullPointerException - In case any of the given parameters is null.
    • Method Detail

      • appendReconfigurationNotification

        public void appendReconfigurationNotification​(Notification notification)
        Appends the given notification about model change due to a reconfiguration that takes place.
        Parameters:
        notification - A Notification that describe model changes due to reconfiguration.
      • activate

        public void activate()
        Specified by:
        activate in interface de.uka.ipd.sdq.scheduler.ISchedulableProcess
        Overrides:
        activate in class de.uka.ipd.sdq.simucomframework.SimuComSimProcess
      • reschedule

        public void reschedule​(double d)
        Specified by:
        reschedule in interface de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
        Overrides:
        reschedule in class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEntityDelegator
      • internalLifeCycle

        protected void internalLifeCycle()
        Specified by:
        internalLifeCycle in class de.uka.ipd.sdq.simucomframework.SimuComSimProcess