public static enum Transaction.READ_WRITE_BEHAVIOR extends java.lang.Enum<Transaction.READ_WRITE_BEHAVIOR> implements java.util.function.Consumer<Transaction>
Transaction.onReadWrite(java.util.function.Consumer).| Enum Constant and Description |
|---|
AUTO
Transactions are automatically started when a read or a write occurs.
|
MANUAL
Transactions must be explicitly opened for operations to occur on the graph.
|
| Modifier and Type | Method and Description |
|---|---|
static Transaction.READ_WRITE_BEHAVIOR |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.READ_WRITE_BEHAVIOR[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.READ_WRITE_BEHAVIOR AUTO
public static final Transaction.READ_WRITE_BEHAVIOR MANUAL
public static Transaction.READ_WRITE_BEHAVIOR[] values()
for (Transaction.READ_WRITE_BEHAVIOR c : Transaction.READ_WRITE_BEHAVIOR.values()) System.out.println(c);
public static Transaction.READ_WRITE_BEHAVIOR valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2013-2015 TinkerPop. All Rights Reserved.