| Modifier and Type | Class and Description | 
|---|---|
| class  | DriverRemoteTransactionA remote  Transactionimplementation 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  Transactionimplementation 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  Transactionimplementation is not auto-managed and therefore this method is not supported. | 
| Modifier and Type | Method and Description | 
|---|---|
| Transaction | ComputerGraph. tx() | 
| Modifier and Type | Method and Description | 
|---|---|
| default Transaction | RemoteConnection. tx()Creates a  Transactionobject 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 theRemoteConnection.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  | AbstractThreadedTransactionA base implementation of  Transactionthat provides core functionality for transaction listeners using a
 shared set of transaction listeners. | 
| class  | AbstractThreadLocalTransactionA base implementation of  Transactionthat provides core functionality for transaction listeners usingThreadLocal. | 
| class  | AbstractTransactionA simple base class for  Transactionthat 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.