public enum TxnState extends Enum<TxnState>
| Enum Constant and Description |
|---|
ABORTED |
ACTIVE |
COMMIT |
COMMITTED |
DETACHED |
END_ABORTED |
END_COMMITTED |
INACTIVE |
PREPARE |
| Modifier and Type | Method and Description |
|---|---|
static TxnState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxnState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxnState INACTIVE
public static final TxnState ACTIVE
public static final TxnState DETACHED
public static final TxnState PREPARE
public static final TxnState COMMIT
public static final TxnState COMMITTED
public static final TxnState ABORTED
public static final TxnState END_COMMITTED
public static final TxnState END_ABORTED
public static TxnState[] values()
for (TxnState c : TxnState.values()) System.out.println(c);
public static TxnState 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 nullLicensed under the Apache License, Version 2.0