|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.dbi.DbEnvPool
public class DbEnvPool
Singleton collection of database environments.
Nested Class Summary | |
---|---|
static class |
DbEnvPool.EnvironmentImplInfo
|
Method Summary | |
---|---|
void |
clear()
|
DbEnvPool.EnvironmentImplInfo |
getEnvironment(File envHome,
EnvironmentConfig config)
If the environment is not open, open it. |
DbEnvPool.EnvironmentImplInfo |
getExistingEnvironment(File envHome)
|
static DbEnvPool |
getInstance()
Access the singleton instance. |
(package private) void |
remove(File envHome)
Remove a EnvironmentImpl from the pool because it's been closed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DbEnvPool getInstance()
public DbEnvPool.EnvironmentImplInfo getEnvironment(File envHome, EnvironmentConfig config) throws DatabaseException
DatabaseException
public DbEnvPool.EnvironmentImplInfo getExistingEnvironment(File envHome) throws DatabaseException
DatabaseException
void remove(File envHome) throws DatabaseException
DatabaseException
public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |