Class 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

    public class OpenWorkloadUser
    extends SimuComSimProcess
    implements IUser
    Base class for open workload users. Open workload users begin their life, execute their behaviour once, and then they die
    • Constructor Detail

      • OpenWorkloadUser

        public OpenWorkloadUser​(SimuComModel owner,
                                String name,
                                IScenarioRunner scenarioRunner,
                                List<org.palladiosimulator.probeframework.probes.Probe> usageStartStopProbes)
    • Method Detail

      • scenarioRunner

        public void scenarioRunner​(SimuComSimProcess thread)
        Description copied from interface: IScenarioRunner
        Execute the behaviour represented by this object using the given simulation process
        Specified by:
        scenarioRunner in interface IScenarioRunner
        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 interface IUser