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 | Field and Description |
---|---|
static EnvironmentConfig |
EnvironmentConfig.DEFAULT |
Modifier and Type | Method and 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(ClassLoader classLoader)
Configure the environment to use a specified ClassLoader for loading
user-supplied classes by name.
|
EnvironmentConfig |
EnvironmentConfig.setConfigParam(String paramName,
String value) |
EnvironmentConfig |
EnvironmentConfig.setCustomStats(CustomStats customStats)
Sets the custom statistics object.
|
EnvironmentConfig |
EnvironmentConfig.setDupConvertPreloadConfig(PreloadConfig preloadConfig) |
EnvironmentConfig |
EnvironmentConfig.setLocking(boolean locking)
Configures the database environment for no locking.
|
EnvironmentConfig |
EnvironmentConfig.setLockTimeout(long timeout)
Deprecated.
as of 4.0, replaced by
setLockTimeout(long,
TimeUnit) . |
EnvironmentConfig |
EnvironmentConfig.setLockTimeout(long timeout,
TimeUnit unit)
Configures the lock timeout.
|
EnvironmentConfig |
EnvironmentConfig.setLoggingHandler(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(String nodeName)
Sets the user defined nodeName for the Environment.
|
EnvironmentConfig |
EnvironmentConfig.setReadOnly(boolean readOnly)
Configures the database environment to be read-only, and any attempt to
modify a database will fail.
|
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)
If true, the shared cache is used by this environment.
|
EnvironmentConfig |
EnvironmentConfig.setTransactional(boolean transactional)
Configures the database environment for transactions.
|
EnvironmentConfig |
EnvironmentConfig.setTxnSerializableIsolation(boolean txnSerializableIsolation)
Configures all transactions for this environment to have Serializable
(Degree 3) isolation.
|
EnvironmentConfig |
EnvironmentConfig.setTxnTimeout(long timeout)
Deprecated.
as of 4.0, replaced by
setTxnTimeout(long,
TimeUnit) . |
EnvironmentConfig |
EnvironmentConfig.setTxnTimeout(long timeout,
TimeUnit unit)
Configures the transaction timeout.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
DbInternal.getCheckpointUP(EnvironmentConfig config)
Proxy to EnvironmentConfig.getCheckpointUP()
|
static boolean |
DbInternal.getCreateUP(EnvironmentConfig config)
Proxy to EnvironmentConfig.getCreateUP()
|
static boolean |
DbInternal.getTxnReadCommitted(EnvironmentConfig config)
Proxy to EnvironmentConfig.setTxnReadCommitted()
|
protected com.sleepycat.je.dbi.EnvironmentImpl |
Environment.makeEnvironmentImpl(File envHome,
EnvironmentConfig envConfig,
boolean openIfNeeded,
com.sleepycat.je.dbi.RepConfigProxy repConfigProxy) |
static void |
DbInternal.setCheckpointUP(EnvironmentConfig config,
boolean checkpointUP)
Proxy to EnvironmentConfig.setCheckpointUP()
|
static void |
DbInternal.setCreateUP(EnvironmentConfig config,
boolean checkpointUP)
Proxy to EnvironmentConfig.setCreateUP()
|
static void |
DbInternal.setLoadPropertyFile(EnvironmentConfig config,
boolean loadProperties)
Proxy to EnvironmentConfig.setLoadPropertyFile()
|
static void |
DbInternal.setTxnReadCommitted(EnvironmentConfig config,
boolean txnReadCommitted)
Proxy to EnvironmentConfig.setTxnReadCommitted()
|
protected com.sleepycat.je.dbi.RepConfigProxy |
Environment.setupRepConfig(File envHome,
com.sleepycat.je.dbi.RepConfigProxy repConfigProxy,
EnvironmentConfig envConfig) |
Constructor and Description |
---|
Environment(File envHome,
EnvironmentConfig configuration)
Creates a database environment handle.
|
Environment(File envHome,
EnvironmentConfig envConfig,
boolean openIfNeeded,
com.sleepycat.je.dbi.RepConfigProxy repConfigProxy,
com.sleepycat.je.dbi.EnvironmentImpl envImplParam) |
Environment(File envHome,
EnvironmentConfig configuration,
com.sleepycat.je.dbi.RepConfigProxy repConfigProxy,
com.sleepycat.je.dbi.EnvironmentImpl envImplParam) |
XAEnvironment(File envHome,
EnvironmentConfig configuration)
Create a database environment handle.
|
Modifier and Type | Method and Description |
---|---|
JEConnection |
JEConnectionFactory.getConnection(String jeRootDir,
EnvironmentConfig envConfig) |
JEConnection |
JEConnectionFactory.getConnection(String jeRootDir,
EnvironmentConfig envConfig,
TransactionConfig transConfig) |
Modifier and Type | Method and Description |
---|---|
EnvironmentConfig |
JEMBeanHelper.getEnvironmentOpenConfig()
Deprecated.
If the helper was instantiated with canConfigure==true, it shows
environment configuration attributes.
|
Modifier and Type | Method and Description |
---|---|
static ReplicatedEnvironment |
RepInternal.createDetachedEnv(File envHome,
ReplicationConfig repConfig,
EnvironmentConfig envConfig) |
static ReplicatedEnvironment |
RepInternal.createInternalEnvHandle(File envHome,
ReplicationConfig repConfig,
EnvironmentConfig envConfig) |
protected com.sleepycat.je.dbi.RepConfigProxy |
ReplicatedEnvironment.setupRepConfig(File envHome,
com.sleepycat.je.dbi.RepConfigProxy repConfigProxy,
EnvironmentConfig envConfig) |
Constructor and Description |
---|
ReplicatedEnvironment(File envHome,
ReplicationConfig repConfig,
EnvironmentConfig envConfig)
A convenience constructor that defaults the replica consistency policy
and the initial election policy to be used.
|
ReplicatedEnvironment(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.
|
ReplicatedEnvironment(File envHome,
ReplicationConfig repConfig,
EnvironmentConfig envConfig,
ReplicaConsistencyPolicy consistencyPolicy,
QuorumPolicy initialElectionPolicy,
boolean joinGroup,
com.sleepycat.je.rep.impl.RepImpl envImplParam)
For internal use only.
|
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.