public class OpenWorkloadUser extends SimuComSimProcess implements IUser
Constructor and Description |
---|
OpenWorkloadUser(SimuComModel owner,
String name,
IScenarioRunner scenarioRunner,
List<org.palladiosimulator.probeframework.probes.Probe> usageStartStopProbes) |
Modifier and Type | Method and Description |
---|---|
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, addTerminatedObserver, fireTerminated, getCurrentSessionId, getModel, getPriority, getRequestContext, getRootProcess, getSimProcessStatus, hold, isFinished, lifeCycle, notifyResuming, notifySuspending, notifyTerminated, removeTerminatedObserver, setPriority, timeout
addProcessListener, getId, getRawId, isTerminated, passivate, passivate, removeProcessListener, scheduleAt
getEncapsulatedEntity, isScheduled, reschedule
getName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, passivate
isScheduled, reschedule
public OpenWorkloadUser(SimuComModel owner, String name, IScenarioRunner scenarioRunner, List<org.palladiosimulator.probeframework.probes.Probe> usageStartStopProbes)
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