Skip to content

Struct mdbx::env::operate_parameters

ClassList > mdbx > env > operate_parameters

Operate parameters.

  • #include <mdbx.h++>

Public Attributes

Type Name
env::durability durability = {env::durability::robust\_synchronous}
unsigned max_maps = {0}
The maximum number of named tables/maps for the environment. Zero means default value.
unsigned max_readers = {0}
The maximum number of threads/reader slots for the environment. Zero means default value.
env::mode mode = {env::mode::write\_mapped\_io}
env::operate_options options
env::reclaiming_options reclaiming

Public Functions

Type Name
MDBX_NODISCARD MDBX_env_flags_t make_flags (bool accede=true, bool use_subdirectory=false) const
constexpr operate_parameters () noexcept
constexpr operate_parameters (const unsigned max_maps, const unsigned max_readers=0, const env::mode mode=env::mode::write_mapped_io, env::durability durability=env::durability::robust_synchronous, const env::reclaiming_options & reclaiming=env::reclaiming_options(), const env::operate_options & options=env::operate_options()) noexcept
constexpr operate_parameters (const operate_parameters &) noexcept
bool operator!= (const operate_parameters & other) noexcept const
operate_parameters & operator= (const operate_parameters &) noexcept
bool operator== (const operate_parameters & other) noexcept const

Public Static Functions

Type Name
MDBX_NODISCARD env::durability durability_from_flags (MDBX_env_flags_t) noexcept
MDBX_NODISCARD env::mode mode_from_flags (MDBX_env_flags_t) noexcept

Public Attributes Documentation

variable durability

env::durability mdbx::env::operate_parameters::durability;

variable max_maps

The maximum number of named tables/maps for the environment. Zero means default value.

unsigned mdbx::env::operate_parameters::max_maps;

variable max_readers

The maximum number of threads/reader slots for the environment. Zero means default value.

unsigned mdbx::env::operate_parameters::max_readers;

variable mode

env::mode mdbx::env::operate_parameters::mode;

variable options

env::operate_options mdbx::env::operate_parameters::options;

variable reclaiming

env::reclaiming_options mdbx::env::operate_parameters::reclaiming;

Public Functions Documentation

function make_flags

MDBX_NODISCARD  MDBX_env_flags_t mdbx::env::operate_parameters::make_flags (
    bool accede=true,
    bool use_subdirectory=false
) const

function operate_parameters [1/3]

inline constexpr mdbx::env::operate_parameters::operate_parameters () noexcept

function operate_parameters [2/3]

inline constexpr mdbx::env::operate_parameters::operate_parameters (
    const unsigned max_maps,
    const unsigned max_readers=0,
    const env::mode mode=env::mode::write_mapped_io,
    env::durability durability=env::durability::robust_synchronous,
    const env::reclaiming_options & reclaiming=env::reclaiming_options (),
    const env::operate_options & options=env::operate_options ()
) noexcept

function operate_parameters [3/3]

constexpr mdbx::env::operate_parameters::operate_parameters (
    const operate_parameters &
) noexcept

function operator!=

inline bool mdbx::env::operate_parameters::operator!= (
    const operate_parameters & other
) noexcept const

function operator=

operate_parameters & mdbx::env::operate_parameters::operator= (
    const operate_parameters &
) noexcept

function operator==

inline bool mdbx::env::operate_parameters::operator== (
    const operate_parameters & other
) noexcept const

Public Static Functions Documentation

function durability_from_flags

static MDBX_NODISCARD  env::durability mdbx::env::operate_parameters::durability_from_flags (
    MDBX_env_flags_t
) noexcept

function mode_from_flags

static MDBX_NODISCARD  env::mode mdbx::env::operate_parameters::mode_from_flags (
    MDBX_env_flags_t
) noexcept


The documentation for this class was generated from the following file docs/mdbx.h++