org.apache.qpid.transport
Enum DtxXaStatus
java.lang.Object
java.lang.Enum<DtxXaStatus>
org.apache.qpid.transport.DtxXaStatus
- All Implemented Interfaces:
- Serializable, Comparable<DtxXaStatus>
public enum DtxXaStatus
- extends Enum<DtxXaStatus>
XA_OK
public static final DtxXaStatus XA_OK
XA_RBROLLBACK
public static final DtxXaStatus XA_RBROLLBACK
XA_RBTIMEOUT
public static final DtxXaStatus XA_RBTIMEOUT
XA_HEURHAZ
public static final DtxXaStatus XA_HEURHAZ
XA_HEURCOM
public static final DtxXaStatus XA_HEURCOM
XA_HEURRB
public static final DtxXaStatus XA_HEURRB
XA_HEURMIX
public static final DtxXaStatus XA_HEURMIX
XA_RDONLY
public static final DtxXaStatus XA_RDONLY
values
public static DtxXaStatus[] 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 (DtxXaStatus c : DtxXaStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DtxXaStatus 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 name
NullPointerException
- if the argument is null
getValue
public int getValue()
get
public static DtxXaStatus get(int value)
Licensed to the Apache Software Foundation