public static enum Transaction.State extends Enum<Transaction.State>
Enum Constant and Description |
---|
ACTIVE |
COMMIT_FAILED |
COMMITTED |
COMMITTING |
NO_TXN |
PREPARED |
PREPARING |
ROLLED_BACK |
ROLLING_BACK |
Modifier and Type | Method and Description |
---|---|
static Transaction.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.State NO_TXN
public static final Transaction.State ACTIVE
public static final Transaction.State PREPARING
public static final Transaction.State PREPARED
public static final Transaction.State COMMITTING
public static final Transaction.State COMMITTED
public static final Transaction.State COMMIT_FAILED
public static final Transaction.State ROLLING_BACK
public static final Transaction.State ROLLED_BACK
public static Transaction.State[] values()
for (Transaction.State c : Transaction.State.values()) System.out.println(c);
public static Transaction.State 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 © 2016 Hazelcast, Inc.. All Rights Reserved.