public class DbEnvPool
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
For unit testing only.
|
(package private) void |
closeEnvironment(EnvironmentImpl envImpl,
boolean doCheckpoint,
boolean doCheckLeaks)
Called by EnvironmentImpl.close to perform the close operation while
synchronized on the DbEnvPool.
|
(package private) void |
closeEnvironmentAfterRunRecovery(EnvironmentImpl envImpl)
Called by EnvironmentImpl.closeAfterRunRecovery to perform the close
operation while synchronized on the DbEnvPool.
|
EnvironmentImpl |
getEnvironment(java.io.File envHome,
EnvironmentConfig config,
boolean checkImmutableParams,
boolean openIfNeeded,
boolean replicationIntended)
Find a single environment, used by Environment handles and by command
line utilities.
|
static DbEnvPool |
getInstance()
Access the singleton instance.
|
int |
getNSharedCacheEnvironments() |
(package private) void |
reinitEnvironment(EnvironmentImpl envImpl,
boolean replicationIntended)
Called by EnvironmentImpl.reinit to perform the reinit operation while
synchronized on the DbEnvPool.
|
(package private) void |
setMutableConfig(EnvironmentImpl envImpl,
EnvironmentMutableConfig mutableConfig)
Called by EnvironmentImpl.setMutableConfig to perform the
setMutableConfig operation while synchronized on the DbEnvPool.
|
public static DbEnvPool getInstance()
public int getNSharedCacheEnvironments()
public EnvironmentImpl getEnvironment(java.io.File envHome, EnvironmentConfig config, boolean checkImmutableParams, boolean openIfNeeded, boolean replicationIntended) throws DatabaseException
DatabaseExceptionvoid reinitEnvironment(EnvironmentImpl envImpl, boolean replicationIntended) throws DatabaseException
DatabaseExceptionvoid setMutableConfig(EnvironmentImpl envImpl, EnvironmentMutableConfig mutableConfig) throws DatabaseException
DatabaseExceptionvoid closeEnvironment(EnvironmentImpl envImpl, boolean doCheckpoint, boolean doCheckLeaks) throws DatabaseException
DatabaseExceptionvoid closeEnvironmentAfterRunRecovery(EnvironmentImpl envImpl) throws DatabaseException
DatabaseExceptionpublic void clear()
Copyright (c) 2004,2008 Oracle. All rights reserved.