Enum ConstantThroughputTimerWrapper.CalcMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AllActiveThreads
      all active threads - the target throughput is divided amongst all the active threads in all Thread Groups.
      AllActiveThreads_Shared
      all active threads (shared) - as above; each thread is throughputed based on when any thread last ran.
      AllActiveThreadsInCurrentThreadGroup
      all active threads in current thread group - the target throughput is divided amongst all the active threads in the group.
      AllActiveThreadsInCurrentThreadGroup_Shared
      all active threads in current thread group (shared) - as above, but each thread is throughputed based on when any thread in the group last ran.
      ThisThreadOnly
      this thread only - each thread will try to maintain the target throughput.
    • Enum Constant Detail

      • ThisThreadOnly

        public static final ConstantThroughputTimerWrapper.CalcMode ThisThreadOnly
        this thread only - each thread will try to maintain the target throughput. The overall throughput will be proportional to the number of active threads.
      • AllActiveThreads

        public static final ConstantThroughputTimerWrapper.CalcMode AllActiveThreads
        all active threads - the target throughput is divided amongst all the active threads in all Thread Groups. Each thread will throughput as needed, based on when it last ran. In this case, each other Thread Group will need a Constant Throughput timer with the same settings.
      • AllActiveThreadsInCurrentThreadGroup

        public static final ConstantThroughputTimerWrapper.CalcMode AllActiveThreadsInCurrentThreadGroup
        all active threads in current thread group - the target throughput is divided amongst all the active threads in the group. Each thread will throughput as needed, based on when it last ran.
      • AllActiveThreads_Shared

        public static final ConstantThroughputTimerWrapper.CalcMode AllActiveThreads_Shared
        all active threads (shared) - as above; each thread is throughputed based on when any thread last ran.
      • AllActiveThreadsInCurrentThreadGroup_Shared

        public static final ConstantThroughputTimerWrapper.CalcMode AllActiveThreadsInCurrentThreadGroup_Shared
        all active threads in current thread group (shared) - as above, but each thread is throughputed based on when any thread in the group last ran.
    • Method Detail

      • values

        public static ConstantThroughputTimerWrapper.CalcMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ConstantThroughputTimerWrapper.CalcMode c : ConstantThroughputTimerWrapper.CalcMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ConstantThroughputTimerWrapper.CalcMode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.Integer getValue()