Package | Description |
---|---|
com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
Modifier and Type | Class and Description |
---|---|
class |
EnvironmentConfig
Specifies the attributes of an environment.
|
Modifier and Type | Method and Description |
---|---|
EnvironmentMutableConfig |
Environment.getMutableConfig()
Returns database environment attributes.
|
EnvironmentMutableConfig |
EnvironmentMutableConfig.setCacheMode(CacheMode cacheMode)
Sets the default
CacheMode used for operations performed in this
environment. |
EnvironmentMutableConfig |
EnvironmentMutableConfig.setCachePercent(int percent)
By default, JE sets its cache size proportionally to the JVM
memory.
|
EnvironmentMutableConfig |
EnvironmentMutableConfig.setCacheSize(long totalBytes)
Configures the memory available to the database system, in bytes.
|
EnvironmentMutableConfig |
EnvironmentMutableConfig.setConfigParam(String paramName,
String value)
Set this configuration parameter.
|
EnvironmentMutableConfig |
EnvironmentMutableConfig.setDurability(Durability durability)
Configures the durability associated with transactions.
|
EnvironmentMutableConfig |
EnvironmentMutableConfig.setExceptionListener(ExceptionListener exceptionListener)
Sets the exception listener for an Environment.
|
EnvironmentMutableConfig |
EnvironmentMutableConfig.setTxnNoSync(boolean noSync)
Deprecated.
replaced by
setDurability(com.sleepycat.je.Durability) |
EnvironmentMutableConfig |
EnvironmentMutableConfig.setTxnWriteNoSync(boolean writeNoSync)
Deprecated.
replaced by
setDurability(com.sleepycat.je.Durability) |
Modifier and Type | Method and Description |
---|---|
void |
Environment.setMutableConfig(EnvironmentMutableConfig mutableConfig)
Sets database environment attributes.
|
Copyright (c) 2004, 2013 Oracle and/or its affiliates. All rights reserved.