Enum ProfilingApplication.TestType
- java.lang.Object
-
- java.lang.Enum<ProfilingApplication.TestType>
-
- org.apache.tinkerpop.gremlin.driver.util.ProfilingApplication.TestType
-
- All Implemented Interfaces:
Serializable,Comparable<ProfilingApplication.TestType>
- Enclosing class:
- ProfilingApplication
public static enum ProfilingApplication.TestType extends Enum<ProfilingApplication.TestType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LATENCYTHROUGHPUT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProfilingApplication.TestTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ProfilingApplication.TestType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LATENCY
public static final ProfilingApplication.TestType LATENCY
-
THROUGHPUT
public static final ProfilingApplication.TestType THROUGHPUT
-
-
Method Detail
-
values
public static ProfilingApplication.TestType[] 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 (ProfilingApplication.TestType c : ProfilingApplication.TestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProfilingApplication.TestType 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
-
-