public static enum Transaction.VisibilityLevel extends Enum<Transaction.VisibilityLevel>
SNAPSHOT - uses the transaction's read snapshot, plus includes all write pointers from the
current transactionSNAPSHOT_EXCLUDE_CURRENT - uses the transaction's read snapshot, plus includes all write
pointers from the current transaction, except the current write pointer
(see Transaction.getWritePointer())The default value used is SNAPSHOT.
| Enum Constant and Description |
|---|
SNAPSHOT |
SNAPSHOT_EXCLUDE_CURRENT |
| Modifier and Type | Method and Description |
|---|---|
static Transaction.VisibilityLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.VisibilityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.VisibilityLevel SNAPSHOT
public static final Transaction.VisibilityLevel SNAPSHOT_EXCLUDE_CURRENT
public static Transaction.VisibilityLevel[] values()
for (Transaction.VisibilityLevel c : Transaction.VisibilityLevel.values()) System.out.println(c);
public static Transaction.VisibilityLevel 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 © 2015. All Rights Reserved.