Modifier and Type | Class and Description |
---|---|
class |
DriverRemoteTransaction
A remote
Transaction implementation that is implemented with the Java driver. |
Modifier and Type | Field and Description |
---|---|
protected Consumer<Transaction> |
DriverRemoteTransaction.closeConsumer |
Modifier and Type | Method and Description |
---|---|
Transaction |
DriverRemoteTransaction.onClose(Consumer<Transaction> consumer) |
Transaction |
DriverRemoteTransaction.onReadWrite(Consumer<Transaction> consumer)
This
Transaction implementation is not auto-managed and therefore this method is not supported. |
Transaction |
DriverRemoteTransaction.tx()
It is not possible to have child transactions, therefore this method always returns
NO_OP . |
Transaction |
DriverRemoteConnection.tx()
Constructs a new
DriverRemoteTransaction . |
Modifier and Type | Method and Description |
---|---|
Transaction |
DriverRemoteTransaction.onClose(Consumer<Transaction> consumer) |
Transaction |
DriverRemoteTransaction.onReadWrite(Consumer<Transaction> consumer)
This
Transaction implementation is not auto-managed and therefore this method is not supported. |
Modifier and Type | Method and Description |
---|---|
Transaction |
HadoopGraph.tx() |
Modifier and Type | Method and Description |
---|---|
Transaction |
Neo4jGraph.tx() |
Modifier and Type | Method and Description |
---|---|
Transaction |
ComputerGraph.tx() |
Modifier and Type | Method and Description |
---|---|
default Transaction |
RemoteConnection.tx()
Creates a
Transaction object designed to work with remote semantics. |
Modifier and Type | Method and Description |
---|---|
Transaction |
GraphTraversalSource.tx()
Proxies calls through to the underlying
Graph.tx() or to the RemoteConnection.tx() . |
Modifier and Type | Field and Description |
---|---|
static Transaction |
Transaction.NO_OP |
Modifier and Type | Method and Description |
---|---|
default <Tx extends Transaction> |
Graph.tx(Class<Tx> txClass)
Configure and control the transactions for those graphs that support this feature.
|
Modifier and Type | Method and Description |
---|---|
Transaction |
Transaction.onClose(Consumer<Transaction> consumer)
Describes what happens to a transaction on a call to
Graph.close() . |
Transaction |
Transaction.onReadWrite(Consumer<Transaction> consumer)
Describes how a transaction is started when a read or a write occurs.
|
Transaction |
Graph.tx()
Configure and control the transactions for those graphs that support this feature.
|
Transaction |
RemoteGraph.tx() |
Modifier and Type | Method and Description |
---|---|
Transaction |
Transaction.onClose(Consumer<Transaction> consumer)
Describes what happens to a transaction on a call to
Graph.close() . |
Transaction |
Transaction.onReadWrite(Consumer<Transaction> consumer)
Describes how a transaction is started when a read or a write occurs.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractThreadedTransaction
A base implementation of
Transaction that provides core functionality for transaction listeners using a
shared set of transaction listeners. |
class |
AbstractThreadLocalTransaction
A base implementation of
Transaction that provides core functionality for transaction listeners using
ThreadLocal . |
class |
AbstractTransaction
A simple base class for
Transaction that provides some common functionality and default behavior. |
Modifier and Type | Field and Description |
---|---|
protected ThreadLocal<Consumer<Transaction>> |
AbstractThreadLocalTransaction.closeConsumerInternal |
protected ThreadLocal<Consumer<Transaction>> |
AbstractThreadLocalTransaction.readWriteConsumerInternal |
Modifier and Type | Method and Description |
---|---|
Transaction |
AbstractThreadedTransaction.onClose(Consumer<Transaction> consumer)
The nature of threaded transactions are such that they are always open when created and manual in nature,
therefore setting this value is not required.
|
Transaction |
AbstractThreadLocalTransaction.onClose(Consumer<Transaction> consumer) |
Transaction |
AbstractThreadedTransaction.onReadWrite(Consumer<Transaction> consumer)
The nature of threaded transactions are such that they are always open when created and manual in nature,
therefore setting this value is not required.
|
Transaction |
AbstractThreadLocalTransaction.onReadWrite(Consumer<Transaction> consumer) |
Modifier and Type | Method and Description |
---|---|
Transaction |
AbstractThreadedTransaction.onClose(Consumer<Transaction> consumer)
The nature of threaded transactions are such that they are always open when created and manual in nature,
therefore setting this value is not required.
|
Transaction |
AbstractThreadLocalTransaction.onClose(Consumer<Transaction> consumer) |
Transaction |
AbstractThreadedTransaction.onReadWrite(Consumer<Transaction> consumer)
The nature of threaded transactions are such that they are always open when created and manual in nature,
therefore setting this value is not required.
|
Transaction |
AbstractThreadLocalTransaction.onReadWrite(Consumer<Transaction> consumer) |
Modifier and Type | Method and Description |
---|---|
Transaction |
EmptyGraph.tx() |
Modifier and Type | Method and Description |
---|---|
Transaction |
StarGraph.tx() |
Modifier and Type | Method and Description |
---|---|
Transaction |
TinkerGraph.tx() |
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.