Package org.cyclos.impl.system
Enum ProfilingEventType
- java.lang.Object
-
- java.lang.Enum<ProfilingEventType>
-
- org.cyclos.impl.system.ProfilingEventType
-
- All Implemented Interfaces:
Serializable,Comparable<ProfilingEventType>
public enum ProfilingEventType extends Enum<ProfilingEventType>
Type of aProfilingEvent
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOCKQUERYSCRIPT_ENDSCRIPT_STARTTRANSACTION_ENDTRANSACTION_START
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProfilingEventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ProfilingEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRANSACTION_START
public static final ProfilingEventType TRANSACTION_START
-
TRANSACTION_END
public static final ProfilingEventType TRANSACTION_END
-
SCRIPT_START
public static final ProfilingEventType SCRIPT_START
-
SCRIPT_END
public static final ProfilingEventType SCRIPT_END
-
QUERY
public static final ProfilingEventType QUERY
-
LOCK
public static final ProfilingEventType LOCK
-
-
Method Detail
-
values
public static ProfilingEventType[] 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 (ProfilingEventType c : ProfilingEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProfilingEventType 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
-
-