## Uses of Interface
org.apache.tinkerpop.gremlin.structure.Transaction

- Packages that use Transaction
  Package | Description
  --- | ---
  org.apache.tinkerpop.gremlin.driver.remote |
  org.apache.tinkerpop.gremlin.process.computer.util |
  org.apache.tinkerpop.gremlin.process.remote |
  org.apache.tinkerpop.gremlin.process.traversal.dsl.graph |
  org.apache.tinkerpop.gremlin.structure |
  org.apache.tinkerpop.gremlin.structure.util |
  org.apache.tinkerpop.gremlin.structure.util.empty |
  org.apache.tinkerpop.gremlin.structure.util.star |
  org.apache.tinkerpop.gremlin.tinkergraph.structure |

- - ### Uses of Transaction in org.apache.tinkerpop.gremlin.driver.remote

    Classes in org.apache.tinkerpop.gremlin.driver.remote that implement Transaction
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DriverRemoteTransaction` A remote `Transaction` implementation that is implemented with the Java driver.

    Fields in org.apache.tinkerpop.gremlin.driver.remote with type parameters of type Transaction
    Modifier and Type | Field and Description
    --- | ---
    `protected Consumer<Transaction>` | DriverRemoteTransaction.`closeConsumer`

    Methods in org.apache.tinkerpop.gremlin.driver.remote that return Transaction
    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`.

    Method parameters in org.apache.tinkerpop.gremlin.driver.remote with type arguments of type Transaction
    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.

  - ### Uses of Transaction in org.apache.tinkerpop.gremlin.process.computer.util

    Methods in org.apache.tinkerpop.gremlin.process.computer.util that return Transaction
    Modifier and Type | Method and Description
    --- | ---
    `Transaction` | ComputerGraph.`tx()`

  - ### Uses of Transaction in org.apache.tinkerpop.gremlin.process.remote

    Methods in org.apache.tinkerpop.gremlin.process.remote that return Transaction
    Modifier and Type | Method and Description
    --- | ---
    `default Transaction` | RemoteConnection.`tx()` Creates a `Transaction` object designed to work with remote semantics.

  - ### Uses of Transaction in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph

    Methods in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph that return Transaction
    Modifier and Type | Method and Description
    --- | ---
    `Transaction` | GraphTraversalSource.`tx()` Proxies calls through to the underlying `Graph.tx()` or to the `RemoteConnection.tx()`.

  - ### Uses of Transaction in org.apache.tinkerpop.gremlin.structure

    Fields in org.apache.tinkerpop.gremlin.structure declared as Transaction
    Modifier and Type | Field and Description
    --- | ---
    `static Transaction` | Transaction.`NO_OP`

    Methods in org.apache.tinkerpop.gremlin.structure with type parameters of type Transaction
    Modifier and Type | Method and Description
    --- | ---
    `default <Tx extends Transaction> Tx` | Graph.`tx(Class<Tx> txClass)` Configure and control the transactions for those graphs that support this feature.

    Methods in org.apache.tinkerpop.gremlin.structure that return Transaction
    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()`

    Method parameters in org.apache.tinkerpop.gremlin.structure with type arguments of type Transaction
    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.

  - ### Uses of Transaction in org.apache.tinkerpop.gremlin.structure.util

    Classes in org.apache.tinkerpop.gremlin.structure.util that implement Transaction
    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.

    Fields in org.apache.tinkerpop.gremlin.structure.util with type parameters of type Transaction
    Modifier and Type | Field and Description
    --- | ---
    `protected ThreadLocal<Consumer<Transaction>>` | AbstractThreadLocalTransaction.`closeConsumerInternal`
    `protected ThreadLocal<Consumer<Transaction>>` | AbstractThreadLocalTransaction.`readWriteConsumerInternal`

    Methods in org.apache.tinkerpop.gremlin.structure.util that return Transaction
    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.

    Method parameters in org.apache.tinkerpop.gremlin.structure.util with type arguments of type Transaction
    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.

  - ### Uses of Transaction in org.apache.tinkerpop.gremlin.structure.util.empty

    Methods in org.apache.tinkerpop.gremlin.structure.util.empty that return Transaction
    Modifier and Type | Method and Description
    --- | ---
    `Transaction` | EmptyGraph.`tx()`

  - ### Uses of Transaction in org.apache.tinkerpop.gremlin.structure.util.star

    Methods in org.apache.tinkerpop.gremlin.structure.util.star that return Transaction
    Modifier and Type | Method and Description
    --- | ---
    `Transaction` | StarGraph.`tx()`

  - ### Uses of Transaction in org.apache.tinkerpop.gremlin.tinkergraph.structure

    Methods in org.apache.tinkerpop.gremlin.tinkergraph.structure that return Transaction
    Modifier and Type | Method and Description
    --- | ---
    `Transaction` | TinkerGraph.`tx()`

Copyright © 2013–2022 Apache Software Foundation. All rights reserved.