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 |
---|---|
Transaction |
GraphTraversalSource.tx()
Proxies calls through to the underlying
Graph.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.
|
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 |
AbstractThreadLocalTransaction.onClose(Consumer<Transaction> consumer) |
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.onReadWrite(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.
|
Modifier and Type | Method and Description |
---|---|
Transaction |
AbstractThreadLocalTransaction.onClose(Consumer<Transaction> consumer) |
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.onReadWrite(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.
|
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–2022 Apache Software Foundation. All rights reserved.