Package | Description |
---|---|
com.sleepycat.collections |
Data access based on the standard Java collections API.
|
com.sleepycat.db |
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) . |
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) . |
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.
|
Modifier and Type | Field and Description |
---|---|
static TransactionConfig |
TransactionConfig.DEFAULT
Default configuration used if null is passed to methods that create a
transaction.
|
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.