public enum EjbPoolJmxMetricGenerator extends java.lang.Enum<EjbPoolJmxMetricGenerator>
Enum Constant and Description |
---|
ACTIVE |
AVAILABLE |
DESTROY |
FAILURE |
SUCCESS |
THREADS_WAITING |
Modifier and Type | Method and Description |
---|---|
abstract JmxMetric |
createMetric(java.lang.String... attributeName) |
static EjbPoolJmxMetricGenerator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EjbPoolJmxMetricGenerator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EjbPoolJmxMetricGenerator SUCCESS
public static final EjbPoolJmxMetricGenerator THREADS_WAITING
public static final EjbPoolJmxMetricGenerator DESTROY
public static final EjbPoolJmxMetricGenerator FAILURE
public static final EjbPoolJmxMetricGenerator AVAILABLE
public static final EjbPoolJmxMetricGenerator ACTIVE
public static EjbPoolJmxMetricGenerator[] values()
for (EjbPoolJmxMetricGenerator c : EjbPoolJmxMetricGenerator.values()) System.out.println(c);
public static EjbPoolJmxMetricGenerator valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract JmxMetric createMetric(java.lang.String... attributeName)