Package | Description |
---|---|
org.apache.tinkerpop.gremlin.structure | |
org.apache.tinkerpop.gremlin.structure.util |
Modifier and Type | Method and Description |
---|---|
static Transaction.Status |
Transaction.Status.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.Status[] |
Transaction.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Transaction.addTransactionListener(Consumer<Transaction.Status> listener)
Adds a listener that is called back with a status when a commit or rollback is successful.
|
void |
Transaction.removeTransactionListener(Consumer<Transaction.Status> listener)
Removes a transaction listener.
|
Modifier and Type | Field and Description |
---|---|
protected ThreadLocal<List<Consumer<Transaction.Status>>> |
AbstractThreadLocalTransaction.transactionListeners |
protected List<Consumer<Transaction.Status>> |
AbstractThreadedTransaction.transactionListeners |
Modifier and Type | Method and Description |
---|---|
void |
AbstractThreadLocalTransaction.addTransactionListener(Consumer<Transaction.Status> listener) |
void |
AbstractThreadedTransaction.addTransactionListener(Consumer<Transaction.Status> listener) |
void |
AbstractThreadLocalTransaction.removeTransactionListener(Consumer<Transaction.Status> listener) |
void |
AbstractThreadedTransaction.removeTransactionListener(Consumer<Transaction.Status> listener) |
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.