public class OpenWorkloadUser extends SimuComSimProcess implements IUser
currentSessionId, LOGGER
Constructor and Description |
---|
OpenWorkloadUser(SimuComModel owner,
java.lang.String name,
IScenarioRunner scenarioRunner,
java.util.List<org.palladiosimulator.probeframework.probes.Probe> usageStartStopProbes) |
Modifier and Type | Method and Description |
---|---|
protected void |
internalLifeCycle() |
void |
scenarioRunner(SimuComSimProcess thread)
Execute the behaviour represented by this object using the given simulation process
|
void |
startUserLife()
Called by the framework to tell the user that he just was born and that he is now ready to
conquer the world.
|
activate, addProcessToSimStatus, addTerminatedObserver, fireTerminated, getCurrentSessionId, getModel, getPriority, getRequestContext, getRootProcess, getSimProcessStatus, hold, isFinished, lifeCycle, notifyResuming, notifySuspending, notifyTerminated, removeProcessFromSimStatus, removeTerminatedObserver, setPriority, timeout, updateNewSessionID
addProcessListener, getId, getRawId, isTerminated, passivate, passivate, preempt, removeProcessListener, scheduleAt
getEncapsulatedEntity, isScheduled, reschedule
public OpenWorkloadUser(SimuComModel owner, java.lang.String name, IScenarioRunner scenarioRunner, java.util.List<org.palladiosimulator.probeframework.probes.Probe> usageStartStopProbes)
protected void internalLifeCycle()
internalLifeCycle
in class SimuComSimProcess
public void scenarioRunner(SimuComSimProcess thread)
IScenarioRunner
scenarioRunner
in interface IScenarioRunner
thread
- The simulation process used to execute the behaviour encapsulated in this objectpublic void startUserLife()
IUser
startUserLife
in interface IUser