| org.archive.util.bdbje.EnhancedEnvironment
EnhancedEnvironment | public class EnhancedEnvironment extends Environment (Code) | | Version of BDB_JE Environment with additional convenience features, such as
a shared, cached StoredClassCatalog. (Additional convenience caching of
Databases and StoredCollections may be added later.)
author: gojomo |
Method Summary | |
public synchronized void | close() | public StoredClassCatalog | getClassCatalog() Return a StoredClassCatalog backed by a Database in this environment,
either pre-existing or created (and cached) if necessary. |
classCatalog | StoredClassCatalog classCatalog(Code) | | |
classCatalogDB | Database classCatalogDB(Code) | | |
EnhancedEnvironment | public EnhancedEnvironment(File envHome, EnvironmentConfig envConfig) throws DatabaseException(Code) | | Constructor
Parameters: envHome - directory in which to open environment Parameters: envConfig - config options throws: DatabaseException - |
close | public synchronized void close() throws DatabaseException(Code) | | |
getClassCatalog | public StoredClassCatalog getClassCatalog()(Code) | | Return a StoredClassCatalog backed by a Database in this environment,
either pre-existing or created (and cached) if necessary.
the cached class catalog |
|
|