public class DbEnvPool
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
clear()
For unit testing only.
|
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() |
public static DbEnvPool getInstance()
public int getNSharedCacheEnvironments()
public EnvironmentImpl getEnvironment(java.io.File envHome, EnvironmentConfig config, boolean checkImmutableParams, boolean openIfNeeded, boolean replicationIntended) throws DatabaseException
DatabaseException
public void clear()