Class ClosedWorkloadGenerator

  • All Implemented Interfaces:
    WorkloadGenerator

    public class ClosedWorkloadGenerator
    extends Object
    implements WorkloadGenerator
    A closed workload is a workload sustaining a fixed amount of Users, which are called the workload population. The workload starts with generating a whole user generation. Whenever a user finishes its usage scenario, a new user is generated after waiting a specified amount of time. This duration is called the think time of an user.
    • Constructor Detail

      • ClosedWorkloadGenerator

        @Inject
        public ClosedWorkloadGenerator​(UserFactory userFactory,
                                       org.palladiosimulator.pcm.usagemodel.ClosedWorkload workload)
        Constructs a closed workload in accordance with the specified workload description.
        Parameters:
        middleware -
        userFactory -
        workload - the workload description