| Package | Description |
|---|---|
| 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.
|
| com.sleepycat.je.jmx |
Implementations of JMX MBeans for JE.
|
| com.sleepycat.je.rep |
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
environments.
|
| Modifier and Type | Method | Description |
|---|---|---|
EnvironmentConfig |
EnvironmentConfig.clone() |
Returns a copy of this configuration object.
|
EnvironmentConfig |
Environment.getConfig() |
Returns this object's configuration.
|
EnvironmentConfig |
EnvironmentConfig.setAllowCreate(boolean allowCreate) |
If true, creates the database environment if it doesn't already exist.
|
EnvironmentConfig |
EnvironmentConfig.setClassLoader(java.lang.ClassLoader classLoader) |
Configure the environment to use a specified ClassLoader for loading
user-supplied classes by name.
|
EnvironmentConfig |
EnvironmentConfig.setConfigParam(java.lang.String paramName,
java.lang.String value) |
|
EnvironmentConfig |
EnvironmentConfig.setCustomStats(CustomStats customStats) |
Sets the custom statistics object.
|
EnvironmentConfig |
EnvironmentConfig.setExtinctionFilter(ExtinctionFilter filter) |
Sets the
filter used for purging extinct
records. |
EnvironmentConfig |
EnvironmentConfig.setLocking(boolean locking) |
Convenience method for setting
ENV_IS_LOCKING. |
EnvironmentConfig |
EnvironmentConfig.setLockTimeout(long timeout) |
Deprecated.
as of 4.0, replaced by
setLockTimeout(long,
TimeUnit). |
EnvironmentConfig |
EnvironmentConfig.setLockTimeout(long timeout,
java.util.concurrent.TimeUnit unit) |
Convenience method for setting
LOCK_TIMEOUT. |
EnvironmentConfig |
EnvironmentConfig.setLoggingHandler(java.util.logging.Handler handler) |
Set a java.util.logging.Handler which will be used by all
java.util.logging.Loggers instantiated by this Environment.
|
EnvironmentConfig |
EnvironmentConfig.setNodeName(java.lang.String nodeName) |
Sets the user defined nodeName for the Environment.
|
EnvironmentConfig |
EnvironmentConfig.setReadOnly(boolean readOnly) |
Convenience method for setting
ENV_READ_ONLY. |
EnvironmentConfig |
EnvironmentConfig.setRecoveryProgressListener(ProgressListener<RecoveryProgress> progressListener) |
Configure the environment to make periodic calls to a ProgressListener to
provide feedback on environment startup (recovery).
|
EnvironmentConfig |
EnvironmentConfig.setSharedCache(boolean sharedCache) |
A convenience method for setting the
SHARED_CACHE parameter. |
EnvironmentConfig |
EnvironmentConfig.setTransactional(boolean transactional) |
Convenience method for setting
ENV_IS_TRANSACTIONAL. |
EnvironmentConfig |
EnvironmentConfig.setTxnSerializableIsolation(boolean txnSerializableIsolation) |
A convenience method for setting
TXN_SERIALIZABLE_ISOLATION. |
EnvironmentConfig |
EnvironmentConfig.setTxnTimeout(long timeout) |
Deprecated.
as of 4.0, replaced by
setTxnTimeout(long,
TimeUnit). |
EnvironmentConfig |
EnvironmentConfig.setTxnTimeout(long timeout,
java.util.concurrent.TimeUnit unit) |
A convenience method for setting
TXN_TIMEOUT. |
| Constructor | Description |
|---|---|
Environment(java.io.File envHome,
EnvironmentConfig configuration) |
Creates a database environment handle.
|
XAEnvironment(java.io.File envHome,
EnvironmentConfig configuration) |
Create a database environment handle.
|
| Modifier and Type | Method | Description |
|---|---|---|
JEConnection |
JEConnectionFactory.getConnection(java.lang.String jeRootDir,
EnvironmentConfig envConfig) |
|
JEConnection |
JEConnectionFactory.getConnection(java.lang.String jeRootDir,
EnvironmentConfig envConfig,
TransactionConfig transConfig) |
| Modifier and Type | Method | Description |
|---|---|---|
EnvironmentConfig |
JEMBeanHelper.getEnvironmentOpenConfig() |
Deprecated.
If the helper was instantiated with canConfigure==true, it shows
environment configuration attributes.
|
| Constructor | Description |
|---|---|
ReplicatedEnvironment(java.io.File envHome,
ReplicationConfig repConfig,
EnvironmentConfig envConfig) |
A convenience constructor that defaults the replica consistency policy
and the initial election policy to be used.
|
ReplicatedEnvironment(java.io.File envHome,
ReplicationConfig repConfig,
EnvironmentConfig envConfig,
ReplicaConsistencyPolicy consistencyPolicy,
QuorumPolicy initialElectionPolicy) |
Creates a replicated environment handle and starts participating in the
replication group as either a Master or a Replica.
|
Copyright (c) 2002, 2018 Oracle and/or its affiliates. All rights reserved.