Package | Description |
---|---|
com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
Modifier and Type | Field and Description |
---|---|
static Durability |
Durability.COMMIT_NO_SYNC
A convenience constant that defines a durability policy with
COMMIT_NO_SYNC for local commit synchronization.
|
static Durability |
Durability.COMMIT_SYNC
A convenience constant that defines a durability policy with COMMIT_SYNC
for local commit synchronization.
|
static Durability |
Durability.COMMIT_WRITE_NO_SYNC
A convenience constant that defines a durability policy with
COMMIT_WRITE_NO_SYNC for local commit synchronization.
|
static Durability |
Durability.READ_ONLY_TXN
Deprecated.
use
TransactionConfig.setReadOnly(boolean) instead. |
Modifier and Type | Method and Description |
---|---|
Durability |
EnvironmentMutableConfig.getDurability()
Convenience method for setting
EnvironmentConfig.TXN_DURABILITY . |
Durability |
TransactionConfig.getDurability()
Returns the durability associated with the configuration.
|
static Durability |
Durability.parse(java.lang.String durabilityString)
Parses the string and returns the durability it represents.
|
Modifier and Type | Method and Description |
---|---|
void |
Transaction.commit(Durability durability)
End the transaction using the specified durability requirements.
|
EnvironmentMutableConfig |
EnvironmentMutableConfig.setDurability(Durability durability)
Convenience method for setting
EnvironmentConfig.TXN_DURABILITY . |
TransactionConfig |
TransactionConfig.setDurability(Durability durability)
Configures the durability associated with a transaction when it commits.
|
Copyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.