Enum ConstantThroughputTimerWrapper.CalcMode
- java.lang.Object
-
- java.lang.Enum<ConstantThroughputTimerWrapper.CalcMode>
-
- org.anasoid.jmc.core.wrapper.jmeter.timers.ConstantThroughputTimerWrapper.CalcMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ConstantThroughputTimerWrapper.CalcMode>
- Enclosing class:
- ConstantThroughputTimerWrapper
public static enum ConstantThroughputTimerWrapper.CalcMode extends java.lang.Enum<ConstantThroughputTimerWrapper.CalcMode>
Enum CalcMode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AllActiveThreadsall active threads - the target throughput is divided amongst all the active threads in all Thread Groups.AllActiveThreads_Sharedall active threads (shared) - as above; each thread is throughputed based on when any thread last ran.AllActiveThreadsInCurrentThreadGroupall active threads in current thread group - the target throughput is divided amongst all the active threads in the group.AllActiveThreadsInCurrentThreadGroup_Sharedall active threads in current thread group (shared) - as above, but each thread is throughputed based on when any thread in the group last ran.ThisThreadOnlythis thread only - each thread will try to maintain the target throughput.
-
Field Summary
Fields Modifier and Type Field Description java.lang.Integervalue
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()java.lang.Integervalue()static ConstantThroughputTimerWrapper.CalcModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConstantThroughputTimerWrapper.CalcMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.Integer value()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<ConstantThroughputTimerWrapper.CalcMode>
-
-