Class ReconfigurationProcess
- java.lang.Object
-
- de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
-
- de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEntityDelegator
-
- de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimProcessDelegator
-
- de.uka.ipd.sdq.simucomframework.SimuComSimProcess
-
- org.palladiosimulator.simulizar.reconfiguration.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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReconfigurationProcess(de.uka.ipd.sdq.simucomframework.model.SimuComModel model, Iterable<IReconfigurationEngine> reconfigurators, Reconfigurator reconfigurator)
Initializes a new instance of theReconfigurationProcess
class.
-
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
-
-
-
-
Constructor Detail
-
ReconfigurationProcess
protected ReconfigurationProcess(de.uka.ipd.sdq.simucomframework.model.SimuComModel model, Iterable<IReconfigurationEngine> reconfigurators, Reconfigurator reconfigurator)
Initializes a new instance of theReconfigurationProcess
class.- Parameters:
model
- TheSimuComModel
that is in used during the current simulation run.reconfigurators
- AnIterable
containing allIReconfigurator
that shall be used.reconfigurator
- TheReconfigurator
instance that manages and triggers reconfigurations.- Throws:
NullPointerException
- In case any of the given parameters isnull
.
-
-
Method Detail
-
appendReconfigurationNotification
public void appendReconfigurationNotification(Notification notification)
Appends the given notification about model change due to a reconfiguration that takes place.- Parameters:
notification
- ANotification
that describe model changes due to reconfiguration.
-
activate
public void activate()
- Specified by:
activate
in interfacede.uka.ipd.sdq.scheduler.ISchedulableProcess
- Overrides:
activate
in classde.uka.ipd.sdq.simucomframework.SimuComSimProcess
-
reschedule
public void reschedule(double d)
- Specified by:
reschedule
in interfacede.uka.ipd.sdq.simulation.abstractsimengine.IEntity
- Overrides:
reschedule
in classde.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEntityDelegator
-
internalLifeCycle
protected void internalLifeCycle()
- Specified by:
internalLifeCycle
in classde.uka.ipd.sdq.simucomframework.SimuComSimProcess
-
-