Uses of Class com.sleepycat.db.TransactionConfig (Oracle - Berkeley DB Java API)
Date: 2017-04-13

## Uses of Class
com.sleepycat.db.TransactionConfig

- Packages that use TransactionConfig
  Package | Description
  --- | ---
  com.sleepycat.collections | Data access based on the standard Java collections API.
  com.sleepycat.db | Berkeley DB Java API [reference guide] [Java programming notes].

- - ### Uses of TransactionConfig in com.sleepycat.collections

    Methods in com.sleepycat.collections that return TransactionConfig
    Modifier and Type | Method and Description
    --- | ---
    `TransactionConfig` | TransactionRunner.`getTransactionConfig()` Returns the transaction configuration used for calling `Environment.beginTransaction(com.sleepycat.db.Transaction, com.sleepycat.db.TransactionConfig)`.

    Methods in com.sleepycat.collections with parameters of type TransactionConfig
    Modifier and Type | Method and Description
    --- | ---
    `Transaction` | CurrentTransaction.`beginTransaction(TransactionConfig config)` Begins a new transaction for this environment and associates it with the current thread.
    `void` | TransactionRunner.`setTransactionConfig(TransactionConfig config)` Changes the transaction configuration used for calling `Environment.beginTransaction(com.sleepycat.db.Transaction, com.sleepycat.db.TransactionConfig)`.

    Constructors in com.sleepycat.collections with parameters of type TransactionConfig
    Constructor and Description
    `TransactionRunner(Environment env, int maxRetries, TransactionConfig config)` Creates a transaction runner for a given Berkeley DB environment and with a given number of maximum retries.

  - ### Uses of TransactionConfig in com.sleepycat.db

    Fields in com.sleepycat.db declared as TransactionConfig
    Modifier and Type | Field and Description
    --- | ---
    `static TransactionConfig` | TransactionConfig.`DEFAULT` Default configuration used if null is passed to methods that create a transaction.

    Methods in com.sleepycat.db with parameters of type TransactionConfig
    Modifier and Type | Method and Description
    --- | ---
    `Transaction` | Environment.`beginTransaction(Transaction parent, TransactionConfig config)` Create a new transaction in the database environment.

Copyright (c) 1996, 2017 Oracle and/or its affiliates. All rights reserved.