|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sleepycat.db.DbEnv | +--org.sourceforge.bdbadapter.AdapterEnv
Inner classes inherited from class com.sleepycat.db.DbEnv |
com.sleepycat.db.DbEnv.RepProcessMessage |
Field Summary | |
private static java.util.Map |
databases
|
private static org.sourceforge.jcalogger.Logger |
logger
|
private static AdapterEnv |
theInstance
|
Fields inherited from class com.sleepycat.db.DbEnv |
app_dispatch_, constructor_flags_, dblist_, errcall_, errpfx_, errstream_, feedback_, private_dbobj_, private_info_, rep_transport_ |
Constructor Summary | |
private |
AdapterEnv(int flags,
java.lang.String dbEnvPath,
int cacheSizeGigabytes,
int cacheSizeBytes,
int cachePieces)
|
Method Summary | |
void |
closeDatabase(java.lang.String databasePath)
|
static AdapterEnv |
getInstance(org.sourceforge.jcalogger.Logger logger,
int flags,
java.lang.String dbEnvPath,
int cacheSizeGigabytes,
int cacheSizeBytes,
int cachePieces)
|
private static void |
init(int flags,
java.lang.String dbEnvPath,
int cacheSizeGigabytes,
int cacheSizeBytes,
int cachePieces,
org.sourceforge.jcalogger.Logger logger)
|
boolean |
isClosed()
|
private static void |
log(java.lang.String message)
|
com.sleepycat.db.Db |
openDatabase(java.lang.String databasePath)
|
Methods inherited from class com.sleepycat.db.DbEnv |
_add_db, _close, _finalize, _init_using_db, _init, _notify_db_close, _notify_dbs, _remove_db, _set_errcall, _set_errpfx, _set_tx_timestamp, |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Field Detail |
private static AdapterEnv theInstance
private static java.util.Map databases
private static org.sourceforge.jcalogger.Logger logger
Constructor Detail |
private AdapterEnv(int flags, java.lang.String dbEnvPath, int cacheSizeGigabytes, int cacheSizeBytes, int cachePieces) throws com.sleepycat.db.DbException, java.io.FileNotFoundException
Method Detail |
public static AdapterEnv getInstance(org.sourceforge.jcalogger.Logger logger, int flags, java.lang.String dbEnvPath, int cacheSizeGigabytes, int cacheSizeBytes, int cachePieces) throws com.sleepycat.db.DbException, java.io.FileNotFoundException
private static void init(int flags, java.lang.String dbEnvPath, int cacheSizeGigabytes, int cacheSizeBytes, int cachePieces, org.sourceforge.jcalogger.Logger logger) throws com.sleepycat.db.DbException, java.io.FileNotFoundException
public com.sleepycat.db.Db openDatabase(java.lang.String databasePath) throws com.sleepycat.db.DbException, java.io.FileNotFoundException
public void closeDatabase(java.lang.String databasePath) throws com.sleepycat.db.DbException
public boolean isClosed()
private static void log(java.lang.String message)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |