com.sleepycat.je.dbi
Class DbEnvPool

java.lang.Object
  extended bycom.sleepycat.je.dbi.DbEnvPool

public class DbEnvPool
extends Object

Singleton collection of database environments.


Nested Class Summary
static class DbEnvPool.EnvironmentImplInfo
           
 
Method Summary
 void clear()
           
 DbEnvPool.EnvironmentImplInfo getEnvironment(File dbEnvHome, EnvironmentConfig config)
          Find a single environment, used by Environment handles and by command line utilities.
static DbEnvPool getInstance()
          Access the singleton instance.
(package private)  void remove(File dbEnvHome)
          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

getInstance

public static DbEnvPool getInstance()
Access the singleton instance.


getEnvironment

public DbEnvPool.EnvironmentImplInfo getEnvironment(File dbEnvHome,
                                                    EnvironmentConfig config)
                                             throws DatabaseException
Find a single environment, used by Environment handles and by command line utilities.

Throws:
DatabaseException

remove

void remove(File dbEnvHome)
Remove a EnvironmentImpl from the pool because it's been closed.


clear

public void clear()


Copyright 2004 Sleepycat, Inc. All Rights Reserved.