Uses of Class com.sleepycat.je.TransactionConfig (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

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

- Packages that use TransactionConfig
  Package | Description
  --- | ---
  com.sleepycat.collections | Data access based on the standard Java collections API.
  com.sleepycat.je | Foundation for creating environments, databases and transactions; provides cursor based data access.
  com.sleepycat.je.jca.ra | Support for the Java Connector Architecture, which provides a standard for connecting the J2EE platform to legacy enterprise information systems (EIS), such as ERP systems, database systems, and legacy applications not written in Java.

- - ### 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.je.Transaction, com.sleepycat.je.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.je.Transaction, com.sleepycat.je.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.je

    Fields in com.sleepycat.je 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.je that return TransactionConfig
    Modifier and Type | Method and Description
    --- | ---
    `TransactionConfig` | TransactionConfig.`clone()` Returns a copy of this configuration object.
    `TransactionConfig` | TransactionConfig.`setConsistencyPolicy(ReplicaConsistencyPolicy consistencyPolicy)` Associates a consistency policy with this configuration.
    `TransactionConfig` | TransactionConfig.`setDurability(Durability durability)` Configures the durability associated with a transaction when it commits.
    `TransactionConfig` | TransactionConfig.`setLocalWrite(boolean localWrite)` Configures this transaction to allow writing to non-replicated `Database`s in a `ReplicatedEnvironment`.
    `TransactionConfig` | TransactionConfig.`setNoSync(boolean noSync)` Deprecated. replaced by `setDurability(com.sleepycat.je.Durability)`
    `TransactionConfig` | TransactionConfig.`setNoWait(boolean noWait)` Configures the transaction to not wait if a lock request cannot be immediately granted.
    `TransactionConfig` | TransactionConfig.`setReadCommitted(boolean readCommitted)` Configures the transaction for read committed isolation.
    `TransactionConfig` | TransactionConfig.`setReadOnly(boolean readOnly)` Configures this transaction to disallow write operations, regardless of whether writes are allowed for the `Environment` or the `Database`s that are accessed.
    `TransactionConfig` | TransactionConfig.`setReadUncommitted(boolean readUncommitted)` Configures read operations performed by the transaction to return modified but not yet committed data.
    `TransactionConfig` | TransactionConfig.`setSerializableIsolation(boolean serializableIsolation)` Configures this transaction to have serializable (degree 3) isolation.
    `TransactionConfig` | TransactionConfig.`setSync(boolean sync)` Configures the transaction to write and synchronously flush the log it when commits.
    `TransactionConfig` | TransactionConfig.`setWriteNoSync(boolean writeNoSync)` Deprecated. replaced by `setDurability(com.sleepycat.je.Durability)`

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

  - ### Uses of TransactionConfig in com.sleepycat.je.jca.ra

    Methods in com.sleepycat.je.jca.ra with parameters of type TransactionConfig
    Modifier and Type | Method and Description
    --- | ---
    `JEConnection` | JEConnectionFactory.`getConnection(String jeRootDir, EnvironmentConfig envConfig, TransactionConfig transConfig)`

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.