Package | Description |
---|---|
com.sleepycat.client |
Modifier and Type | Method and Description |
---|---|
SEnvironmentConfig |
SEnvironment.getConfig()
Return this object's configuration.
|
SEnvironmentConfig |
SEnvironmentConfig.setAllowCreate(boolean allowCreate)
Configure the environment to create any underlying files, as necessary.
|
SEnvironmentConfig |
SEnvironmentConfig.setCacheCount(int cacheCount)
Set the number of shared memory buffer pools.
|
SEnvironmentConfig |
SEnvironmentConfig.setCacheSize(long cacheSize)
Set the size of the cache.
|
SEnvironmentConfig |
SEnvironmentConfig.setEncrypted(java.lang.String password)
Set the password used to perform encryption and decryption.
|
SEnvironmentConfig |
SEnvironmentConfig.setLockDetectMode(SLockDetectMode lockDetectMode)
Set policy used by the deadlock detector.
|
SEnvironmentConfig |
SEnvironmentConfig.setMultiversion(boolean multiversion)
Configure the database environment to open all databases that are not
using the queue access method for multiversion concurrency control.
|
SEnvironmentConfig |
SEnvironmentConfig.setRunRecovery(boolean runRecovery)
Configure to run normal recovery on this environment before opening it
for normal use.
|
SEnvironmentConfig |
SEnvironmentConfig.setTxnNoSync(boolean txnNoSync)
Configure the system to not write or synchronously flush the log on
transaction commit.
|
SEnvironmentConfig |
SEnvironmentConfig.setTxnNoWait(boolean txnNoWait)
If a lock is unavailable for any Berkeley DB operation performed in the
context of a transaction, cause the operation to throw
SLockNotGrantedException without waiting for the lock. |
SEnvironmentConfig |
SEnvironmentConfig.setTxnSnapshot(boolean txnSnapshot)
Configure the database environment to run transactions at snapshot
isolation by default.
|
SEnvironmentConfig |
SEnvironmentConfig.setTxnWriteNoSync(boolean txnWriteNoSync)
Configure the system to write, but not synchronously flush, the log on
transaction commit.
|
Modifier and Type | Method and Description |
---|---|
SEnvironment |
BdbServerConnection.openEnvironment(java.lang.String home,
SEnvironmentConfig config)
Open a remote environment and return an environment handle.
|
void |
SEnvironment.setConfig(SEnvironmentConfig config)
Change the settings in an existing environment handle.
|
Copyright (c) 2016, 2018 Oracle and/or its affiliates. All rights reserved.