public enum TxnStatus extends Enum<TxnStatus> implements Serializable
Enum Constant and Description |
---|
DEPRECATED
Constant indicating that an existing statement has been deprecated and
should be removed upon commit.
|
EXPLICIT
Constant indicating that an existing inferred statement has been added
explicitly as part of a transaction and that it should be marked as such
upon commit.
|
INFERRED
Constant indicating that an existing explicit statement has been removed
as part of a transaction, but that it can still be inferred from the
other statements.
|
NEUTRAL
Constant indicating that a statement has not been affected by a
transaction.
|
NEW
Constant indicating that a statement has been newly added as part of a
transaction, but has not yet been committed.
|
ZOMBIE
Constant indicating that a statement was added and then removed in a
single transaction.
|
Modifier and Type | Method and Description |
---|---|
static TxnStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxnStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxnStatus NEUTRAL
public static final TxnStatus NEW
public static final TxnStatus DEPRECATED
public static final TxnStatus EXPLICIT
public static final TxnStatus INFERRED
public static final TxnStatus ZOMBIE
public static TxnStatus[] values()
for (TxnStatus c : TxnStatus.values()) System.out.println(c);
public static TxnStatus 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 © 2001-2016 Aduna. All Rights Reserved.