public enum TransactionMetric extends Enum<TransactionMetric> implements org.jboss.as.clustering.controller.Metric<org.infinispan.interceptors.impl.TxInterceptor>
| Modifier and Type | Method and Description |
|---|---|
org.jboss.as.controller.AttributeDefinition |
getDefinition() |
static TransactionMetric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionMetric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfpublic static final TransactionMetric COMMITS
public static final TransactionMetric PREPARES
public static final TransactionMetric ROLLBACKS
public static TransactionMetric[] values()
for (TransactionMetric c : TransactionMetric.values()) System.out.println(c);
public static TransactionMetric valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic org.jboss.as.controller.AttributeDefinition getDefinition()
getDefinition in interface org.jboss.as.clustering.controller.Definable<org.jboss.as.controller.AttributeDefinition>Copyright © 2021 JBoss by Red Hat. All rights reserved.