Package org.apache.qpid.server.txn
Enum DtxBranch.State
- java.lang.Object
-
- java.lang.Enum<DtxBranch.State>
-
- org.apache.qpid.server.txn.DtxBranch.State
-
- All Implemented Interfaces:
Serializable
,Comparable<DtxBranch.State>
- Enclosing class:
- DtxBranch
public static enum DtxBranch.State extends Enum<DtxBranch.State>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DtxBranch.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static DtxBranch.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final DtxBranch.State ACTIVE
-
PREPARED
public static final DtxBranch.State PREPARED
-
TIMEDOUT
public static final DtxBranch.State TIMEDOUT
-
SUSPENDED
public static final DtxBranch.State SUSPENDED
-
FORGOTTEN
public static final DtxBranch.State FORGOTTEN
-
HEUR_COM
public static final DtxBranch.State HEUR_COM
-
HEUR_RB
public static final DtxBranch.State HEUR_RB
-
ROLLBACK_ONLY
public static final DtxBranch.State ROLLBACK_ONLY
-
-
Method Detail
-
values
public static DtxBranch.State[] 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 (DtxBranch.State c : DtxBranch.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DtxBranch.State 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
-
-