Package org.jboss.as.txn.subsystem
Enum TxStatsHandler.TxStat
- java.lang.Object
-
- java.lang.Enum<TxStatsHandler.TxStat>
-
- org.jboss.as.txn.subsystem.TxStatsHandler.TxStat
-
- All Implemented Interfaces:
Serializable,Comparable<TxStatsHandler.TxStat>
- Enclosing class:
- TxStatsHandler
public static enum TxStatsHandler.TxStat extends Enum<TxStatsHandler.TxStat>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TxStatsHandler.TxStatgetStat(String stringForm)StringtoString()static TxStatsHandler.TxStatvalueOf(String name)Returns the enum constant of this type with the specified name.static TxStatsHandler.TxStat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMBER_OF_TRANSACTIONS
public static final TxStatsHandler.TxStat NUMBER_OF_TRANSACTIONS
-
NUMBER_OF_NESTED_TRANSACTIONS
public static final TxStatsHandler.TxStat NUMBER_OF_NESTED_TRANSACTIONS
-
NUMBER_OF_HEURISTICS
public static final TxStatsHandler.TxStat NUMBER_OF_HEURISTICS
-
NUMBER_OF_COMMITTED_TRANSACTIONS
public static final TxStatsHandler.TxStat NUMBER_OF_COMMITTED_TRANSACTIONS
-
NUMBER_OF_ABORTED_TRANSACTIONS
public static final TxStatsHandler.TxStat NUMBER_OF_ABORTED_TRANSACTIONS
-
NUMBER_OF_INFLIGHT_TRANSACTIONS
public static final TxStatsHandler.TxStat NUMBER_OF_INFLIGHT_TRANSACTIONS
-
NUMBER_OF_TIMED_OUT_TRANSACTIONS
public static final TxStatsHandler.TxStat NUMBER_OF_TIMED_OUT_TRANSACTIONS
-
NUMBER_OF_APPLICATION_ROLLBACKS
public static final TxStatsHandler.TxStat NUMBER_OF_APPLICATION_ROLLBACKS
-
NUMBER_OF_RESOURCE_ROLLBACKS
public static final TxStatsHandler.TxStat NUMBER_OF_RESOURCE_ROLLBACKS
-
NUMBER_OF_SYSTEM_ROLLBACKS
public static final TxStatsHandler.TxStat NUMBER_OF_SYSTEM_ROLLBACKS
-
AVERAGE_COMMIT_TIME
public static final TxStatsHandler.TxStat AVERAGE_COMMIT_TIME
-
-
Method Detail
-
values
public static TxStatsHandler.TxStat[] 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 (TxStatsHandler.TxStat c : TxStatsHandler.TxStat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TxStatsHandler.TxStat 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
-
toString
public final String toString()
- Overrides:
toStringin classEnum<TxStatsHandler.TxStat>
-
getStat
public static TxStatsHandler.TxStat getStat(String stringForm)
-
-