public static enum XARequest.RequestType extends Enum<XARequest.RequestType>
| Enum Constant and Description |
|---|
COMMIT
commit
|
FORGET
forget
|
PREPARE
prepare
|
ROLLBACK
rollback
|
| Modifier and Type | Method and Description |
|---|---|
static XARequest.RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XARequest.RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XARequest.RequestType PREPARE
public static final XARequest.RequestType COMMIT
public static final XARequest.RequestType FORGET
public static final XARequest.RequestType ROLLBACK
public static XARequest.RequestType[] values()
for (XARequest.RequestType c : XARequest.RequestType.values()) System.out.println(c);
public static XARequest.RequestType 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 © 2003-2014 Terracotta, Inc.. All Rights Reserved.