Class OpenWorkloadUser
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
de.uka.ipd.sdq.simucomframework.usage.OpenWorkloadUser
- All Implemented Interfaces:
de.uka.ipd.sdq.scheduler.ISchedulableProcess
,IScenarioRunner
,IUser
,de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
,de.uka.ipd.sdq.simulation.abstractsimengine.ISimProcess
,de.uka.ipd.sdq.simulation.abstractsimengine.ISimProcessListener
Base class for open workload users. Open workload users begin their life, execute their behaviour
once, and then they die
-
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
-
Constructor Summary
ConstructorDescriptionOpenWorkloadUser
(SimuComModel owner, String name, IScenarioRunner scenarioRunner, List<org.palladiosimulator.probeframework.probes.Probe> usageStartStopProbes, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
scenarioRunner
(SimuComSimProcess thread) Execute the behaviour represented by this object using the given simulation processvoid
Called by the framework to tell the user that he just was born and that he is now ready to conquer the world.Methods inherited from class de.uka.ipd.sdq.simucomframework.SimuComSimProcess
activate, 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, reschedule
Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
isScheduled, reschedule
Methods inherited from interface de.uka.ipd.sdq.scheduler.ISchedulableProcess
getId, passivate
-
Constructor Details
-
OpenWorkloadUser
public OpenWorkloadUser(SimuComModel owner, String name, IScenarioRunner scenarioRunner, List<org.palladiosimulator.probeframework.probes.Probe> usageStartStopProbes, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
-
-
Method Details
-
internalLifeCycle
protected void internalLifeCycle()- Specified by:
internalLifeCycle
in classSimuComSimProcess
-
scenarioRunner
Description copied from interface:IScenarioRunner
Execute the behaviour represented by this object using the given simulation process- Specified by:
scenarioRunner
in interfaceIScenarioRunner
- Parameters:
thread
- The simulation process used to execute the behaviour encapsulated in this object
-
startUserLife
public void startUserLife()Description copied from interface:IUser
Called by the framework to tell the user that he just was born and that he is now ready to conquer the world.- Specified by:
startUserLife
in interfaceIUser
-