#include <bdb.h>
Definition at line 44 of file bdb.h.
◆ BerkeleyEnvironment() [1/2]
wallet::BerkeleyEnvironment::BerkeleyEnvironment |
( |
const fs::path & |
env_directory, |
|
|
bool |
use_shared_memory |
|
) |
| |
|
explicit |
◆ BerkeleyEnvironment() [2/2]
wallet::BerkeleyEnvironment::BerkeleyEnvironment |
( |
| ) |
|
Construct an in-memory mock Berkeley environment for testing.
Definition at line 210 of file bdb.cpp.
◆ ~BerkeleyEnvironment()
wallet::BerkeleyEnvironment::~BerkeleyEnvironment |
( |
| ) |
|
◆ CheckpointLSN()
void wallet::BerkeleyEnvironment::CheckpointLSN |
( |
const std::string & |
strFile | ) |
|
◆ Close()
void wallet::BerkeleyEnvironment::Close |
( |
| ) |
|
◆ CloseDb()
void wallet::BerkeleyEnvironment::CloseDb |
( |
const fs::path & |
filename | ) |
|
◆ Directory()
fs::path wallet::BerkeleyEnvironment::Directory |
( |
| ) |
const |
|
inline |
Definition at line 67 of file bdb.h.
◆ Flush()
void wallet::BerkeleyEnvironment::Flush |
( |
bool |
fShutdown | ) |
|
◆ IsInitialized()
bool wallet::BerkeleyEnvironment::IsInitialized |
( |
| ) |
const |
|
inline |
Definition at line 66 of file bdb.h.
◆ IsMock()
bool wallet::BerkeleyEnvironment::IsMock |
( |
| ) |
const |
|
inline |
Definition at line 65 of file bdb.h.
◆ Open()
◆ ReloadDbEnv()
void wallet::BerkeleyEnvironment::ReloadDbEnv |
( |
| ) |
|
◆ Reset()
void wallet::BerkeleyEnvironment::Reset |
( |
| ) |
|
◆ TxnBegin()
DbTxn * wallet::BerkeleyEnvironment::TxnBegin |
( |
int |
flags | ) |
|
◆ dbenv
std::unique_ptr<DbEnv> wallet::BerkeleyEnvironment::dbenv |
Definition at line 54 of file bdb.h.
◆ fDbEnvInit
bool wallet::BerkeleyEnvironment::fDbEnvInit |
|
private |
Definition at line 47 of file bdb.h.
◆ fMockDb
bool wallet::BerkeleyEnvironment::fMockDb |
|
private |
Definition at line 48 of file bdb.h.
◆ m_databases
Definition at line 55 of file bdb.h.
◆ m_db_in_use
std::condition_variable_any wallet::BerkeleyEnvironment::m_db_in_use |
Definition at line 57 of file bdb.h.
◆ m_fileids
Definition at line 56 of file bdb.h.
◆ m_use_shared_memory
bool wallet::BerkeleyEnvironment::m_use_shared_memory |
Definition at line 58 of file bdb.h.
◆ strPath
std::string wallet::BerkeleyEnvironment::strPath |
|
private |
Definition at line 51 of file bdb.h.
The documentation for this class was generated from the following files: