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

- Packages that use Transaction
  Package | Description
  --- | ---
  org.apache.tinkerpop.gremlin.process.traversal.dsl.graph |
  org.apache.tinkerpop.gremlin.structure |

- - ### 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.

    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.

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