|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TxnStatus>
org.openrdf.sail.memory.model.TxnStatus
public enum TxnStatus
A type-safe enumeration for transaction status information on MemStatements.
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||