public class EnhancedEnvironment
extends com.sleepycat.je.Environment
Modifier and Type | Field and Description |
---|---|
protected com.sleepycat.bind.serial.StoredClassCatalog |
classCatalog |
protected com.sleepycat.je.Database |
classCatalogDB |
Constructor and Description |
---|
EnhancedEnvironment(File envHome,
com.sleepycat.je.EnvironmentConfig envConfig)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.sleepycat.bind.serial.StoredClassCatalog |
getClassCatalog()
Return a StoredClassCatalog backed by a Database in this environment,
either pre-existing or created (and cached) if necessary.
|
static EnhancedEnvironment |
getTestEnvironment(File dir)
Create a temporary test environment in the given directory.
|
beginTransaction, checkEnv, checkHandleIsValid, checkpoint, cleanLog, compress, evictMemory, getConfig, getDatabaseNames, getHome, getLockStats, getMutableConfig, getStats, getThreadTransaction, getTransactionStats, isValid, makeEnvironmentImpl, openDatabase, openSecondaryDatabase, removeDatabase, renameDatabase, scanLog, setMutableConfig, setThreadTransaction, setupRepConfig, sync, truncateDatabase, verify
protected com.sleepycat.bind.serial.StoredClassCatalog classCatalog
protected com.sleepycat.je.Database classCatalogDB
public EnhancedEnvironment(File envHome, com.sleepycat.je.EnvironmentConfig envConfig) throws com.sleepycat.je.DatabaseException
envHome
- directory in which to open environmentenvConfig
- config optionscom.sleepycat.je.DatabaseException
public com.sleepycat.bind.serial.StoredClassCatalog getClassCatalog()
public void close() throws com.sleepycat.je.DatabaseException
close
in class com.sleepycat.je.Environment
com.sleepycat.je.DatabaseException
public static EnhancedEnvironment getTestEnvironment(File dir)
dir
- target directoryCopyright © 2003-2014 Internet Archive. All Rights Reserved.