Package org.eclipse.steady.java.monitor
Enum InstrumentationControl.InstrumentationMetrics
- java.lang.Object
-
- java.lang.Enum<InstrumentationControl.InstrumentationMetrics>
-
- org.eclipse.steady.java.monitor.InstrumentationControl.InstrumentationMetrics
-
- All Implemented Interfaces:
Serializable,Comparable<InstrumentationControl.InstrumentationMetrics>
- Enclosing class:
- InstrumentationControl
public static enum InstrumentationControl.InstrumentationMetrics extends Enum<InstrumentationControl.InstrumentationMetrics>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description classesAlreadyInstrumentedclassesInstrumentedFailureclassesInstrumentedSuccessclassesTotal
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstrumentationControl.InstrumentationMetricsvalueOf(String name)Returns the enum constant of this type with the specified name.static InstrumentationControl.InstrumentationMetrics[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
classesTotal
public static final InstrumentationControl.InstrumentationMetrics classesTotal
-
classesInstrumentedSuccess
public static final InstrumentationControl.InstrumentationMetrics classesInstrumentedSuccess
-
classesInstrumentedFailure
public static final InstrumentationControl.InstrumentationMetrics classesInstrumentedFailure
-
classesAlreadyInstrumented
public static final InstrumentationControl.InstrumentationMetrics classesAlreadyInstrumented
-
-
Method Detail
-
values
public static InstrumentationControl.InstrumentationMetrics[] 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 (InstrumentationControl.InstrumentationMetrics c : InstrumentationControl.InstrumentationMetrics.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstrumentationControl.InstrumentationMetrics 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
-
-