#include <bdb.h>
Definition at line 38 of file bdb.h.
◆ BerkeleyEnvironment() [1/2]
BerkeleyEnvironment::BerkeleyEnvironment |
( |
const fs::path & |
env_directory | ) |
|
|
explicit |
◆ BerkeleyEnvironment() [2/2]
BerkeleyEnvironment::BerkeleyEnvironment |
( |
| ) |
|
Construct an in-memory mock Berkeley environment for testing.
Definition at line 227 of file bdb.cpp.
◆ ~BerkeleyEnvironment()
BerkeleyEnvironment::~BerkeleyEnvironment |
( |
| ) |
|
◆ CheckpointLSN()
void BerkeleyEnvironment::CheckpointLSN |
( |
const std::string & |
strFile | ) |
|
◆ Close()
void BerkeleyEnvironment::Close |
( |
| ) |
|
◆ CloseDb()
void BerkeleyEnvironment::CloseDb |
( |
const std::string & |
strFile | ) |
|
◆ Directory()
fs::path BerkeleyEnvironment::Directory |
( |
| ) |
const |
|
inline |
Definition at line 61 of file bdb.h.
◆ Flush()
void BerkeleyEnvironment::Flush |
( |
bool |
fShutdown | ) |
|
◆ IsInitialized()
bool BerkeleyEnvironment::IsInitialized |
( |
| ) |
const |
|
inline |
Definition at line 60 of file bdb.h.
◆ IsMock()
bool BerkeleyEnvironment::IsMock |
( |
| ) |
const |
|
inline |
Definition at line 59 of file bdb.h.
◆ MakeMock()
void BerkeleyEnvironment::MakeMock |
( |
| ) |
|
◆ Open()
◆ ReloadDbEnv()
void BerkeleyEnvironment::ReloadDbEnv |
( |
| ) |
|
◆ Reset()
void BerkeleyEnvironment::Reset |
( |
| ) |
|
◆ TxnBegin()
DbTxn * BerkeleyEnvironment::TxnBegin |
( |
int |
flags = DB_TXN_WRITE_NOSYNC | ) |
|
|
inline |
Definition at line 71 of file bdb.h.
◆ dbenv
std::unique_ptr<DbEnv> BerkeleyEnvironment::dbenv |
Definition at line 48 of file bdb.h.
◆ fDbEnvInit
bool BerkeleyEnvironment::fDbEnvInit |
|
private |
Definition at line 40 of file bdb.h.
◆ fMockDb
bool BerkeleyEnvironment::fMockDb |
|
private |
Definition at line 41 of file bdb.h.
◆ m_databases
std::map<std::string, std::reference_wrapper<BerkeleyDatabase> > BerkeleyEnvironment::m_databases |
Definition at line 49 of file bdb.h.
◆ m_db_in_use
std::condition_variable_any BerkeleyEnvironment::m_db_in_use |
Definition at line 51 of file bdb.h.
◆ m_fileids
Definition at line 50 of file bdb.h.
◆ strPath
std::string BerkeleyEnvironment::strPath |
|
private |
Definition at line 45 of file bdb.h.
The documentation for this class was generated from the following files: