public enum XAResourceProgressState extends Enum<XAResourceProgressState>
| Enum Constant and Description |
|---|
ACTIVE
the physical connection accepts data manipulation
|
CLOSED |
COMMITTED |
COMMITTING |
PREPARED |
PREPARING |
ROLLEDBACK |
ROLLING_BACK |
| Modifier and Type | Method and Description |
|---|---|
static XAResourceProgressState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XAResourceProgressState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XAResourceProgressState ACTIVE
public static final XAResourceProgressState PREPARED
public static final XAResourceProgressState COMMITTED
public static final XAResourceProgressState ROLLEDBACK
public static final XAResourceProgressState CLOSED
public static final XAResourceProgressState COMMITTING
public static final XAResourceProgressState ROLLING_BACK
public static final XAResourceProgressState PREPARING
public static XAResourceProgressState[] values()
for (XAResourceProgressState c : XAResourceProgressState.values()) System.out.println(c);
public static XAResourceProgressState 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 nullCopyright © 2017. All rights reserved.