public enum JtaJmxMetricGenerator extends java.lang.Enum<JtaJmxMetricGenerator>
| Enum Constant and Description |
|---|
ABANDONDED |
COMMIT |
COUNT |
ROLLBACK |
TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
abstract JmxMetric |
createMetric(java.lang.String... attributeName) |
static JtaJmxMetricGenerator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JtaJmxMetricGenerator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JtaJmxMetricGenerator COUNT
public static final JtaJmxMetricGenerator COMMIT
public static final JtaJmxMetricGenerator ROLLBACK
public static final JtaJmxMetricGenerator TIMEOUT
public static final JtaJmxMetricGenerator ABANDONDED
public static JtaJmxMetricGenerator[] values()
for (JtaJmxMetricGenerator c : JtaJmxMetricGenerator.values()) System.out.println(c);
public static JtaJmxMetricGenerator 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)