#include <lmdb_environment.hpp>
Definition at line 18 of file lmdb_environment.hpp.
◆ Ptr
◆ SharedPtr
◆ LMDBEnvironment() [1/3]
bb::lmdblib::LMDBEnvironment::LMDBEnvironment |
( |
const std::string & |
directory, |
|
|
uint64_t |
mapSizeKb, |
|
|
uint32_t |
maxNumDBs, |
|
|
uint32_t |
maxNumReaders |
|
) |
| |
Opens/creates the LMDB environment.
- Parameters
-
directory | The directory in which the environment is to be created |
mapSizeKb | The maximum size of the database, can be increased from a previously used value |
maxNumDbs | The maximum number of databases that can be created withn this environment |
maxNumReaders | The maximum number of concurrent read transactions permitted. |
Definition at line 11 of file lmdb_environment.cpp.
◆ LMDBEnvironment() [2/3]
bb::lmdblib::LMDBEnvironment::LMDBEnvironment |
( |
const LMDBEnvironment & |
other | ) |
|
|
delete |
◆ LMDBEnvironment() [3/3]
◆ ~LMDBEnvironment()
bb::lmdblib::LMDBEnvironment::~LMDBEnvironment |
( |
| ) |
|
◆ get_data_file_size()
uint64_t bb::lmdblib::LMDBEnvironment::get_data_file_size |
( |
| ) |
const |
◆ get_map_size()
uint64_t bb::lmdblib::LMDBEnvironment::get_map_size |
( |
| ) |
const |
◆ getNextId()
uint64_t bb::lmdblib::LMDBEnvironment::getNextId |
( |
| ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ release_reader()
void bb::lmdblib::LMDBEnvironment::release_reader |
( |
| ) |
|
◆ release_writer()
void bb::lmdblib::LMDBEnvironment::release_writer |
( |
| ) |
|
◆ underlying()
MDB_env * bb::lmdblib::LMDBEnvironment::underlying |
( |
| ) |
const |
◆ wait_for_reader()
void bb::lmdblib::LMDBEnvironment::wait_for_reader |
( |
| ) |
|
◆ wait_for_writer()
void bb::lmdblib::LMDBEnvironment::wait_for_writer |
( |
| ) |
|
◆ _directory
std::string bb::lmdblib::LMDBEnvironment::_directory |
|
private |
◆ _id
◆ _mdbEnv
MDB_env* bb::lmdblib::LMDBEnvironment::_mdbEnv |
|
private |
◆ _readGuard
◆ _writeGuard
The documentation for this class was generated from the following files: