public enum TransactionMetric extends Enum<TransactionMetric> implements Metric<org.infinispan.interceptors.TxInterceptor<?,?>>
Modifier and Type | Method and Description |
---|---|
org.jboss.as.controller.AttributeDefinition |
getDefinition()
Returns the definition of this object.
|
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, valueOf
execute
public 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()
Definable
getDefinition
in interface Definable<org.jboss.as.controller.AttributeDefinition>
Copyright © 2017 JBoss by Red Hat. All rights reserved.