Enum AutoStopMetric
- java.lang.Object
-
- java.lang.Enum<AutoStopMetric>
-
- us.abstracta.jmeter.javadsl.core.listeners.autostop.AutoStopMetric
-
- All Implemented Interfaces:
Serializable,Comparable<AutoStopMetric>
public enum AutoStopMetric extends Enum<AutoStopMetric>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECT_TIMEERRORSLATENCYRECEIVED_BYTESSAMPLE_TIMESAMPLESSENT_BYTES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longextractFrom(org.apache.jmeter.samplers.SampleResult result)StringgetName()static AutoStopMetricvalueOf(String name)Returns the enum constant of this type with the specified name.static AutoStopMetric[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAMPLE_TIME
public static final AutoStopMetric SAMPLE_TIME
-
LATENCY
public static final AutoStopMetric LATENCY
-
CONNECT_TIME
public static final AutoStopMetric CONNECT_TIME
-
SAMPLES
public static final AutoStopMetric SAMPLES
-
ERRORS
public static final AutoStopMetric ERRORS
-
SENT_BYTES
public static final AutoStopMetric SENT_BYTES
-
RECEIVED_BYTES
public static final AutoStopMetric RECEIVED_BYTES
-
-
Method Detail
-
values
public static AutoStopMetric[] 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 (AutoStopMetric c : AutoStopMetric.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutoStopMetric valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
extractFrom
public long extractFrom(org.apache.jmeter.samplers.SampleResult result)
-
getName
public String getName()
-
-