public static enum TxRecord.TxAction extends Enum<TxRecord.TxAction>
| Enum Constant and Description |
|---|
BEGIN
Transaction begin.
|
COMMIT
Transaction commit.
|
PREPARE
Transaction prepare.
|
ROLLBACK
Transaction rollback.
|
| Modifier and Type | Method and Description |
|---|---|
static TxRecord.TxAction |
fromOrdinal(int ord)
Gets tx action value from ordinal.
|
static TxRecord.TxAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxRecord.TxAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxRecord.TxAction BEGIN
public static final TxRecord.TxAction PREPARE
public static final TxRecord.TxAction COMMIT
public static final TxRecord.TxAction ROLLBACK
public static TxRecord.TxAction[] values()
for (TxRecord.TxAction c : TxRecord.TxAction.values()) System.out.println(c);
public static TxRecord.TxAction 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 nullpublic static TxRecord.TxAction fromOrdinal(int ord)
ord - Ordinal.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017