Storage Engine API
mongo::StorageGlobalParams Struct Reference

#include <storage_options.h>

Public Member Functions

 StorageGlobalParams ()
 
void reset ()
 

Public Attributes

std::string engine
 
bool engineSetByUser
 
std::string dbpath
 
bool upgrade
 
bool repair
 
std::string repairpath
 
bool dur
 
AtomicInt32 journalCommitIntervalMs
 
AtomicBool noTableScan
 
bool directoryperdb
 
AtomicDouble syncdelay
 
bool readOnly
 
bool groupCollections
 

Static Public Attributes

static const char * kDefaultDbPath = "/data/db"
 The directory where the mongod instance stores its data. More...
 
static const char * kDefaultConfigDbPath = "/data/configdb"
 
static const int kMaxJournalCommitIntervalMs = 500
 
static const double kMaxSyncdelaySecs = 9.0 * 1000.0 * 1000.0
 

Constructor & Destructor Documentation

◆ StorageGlobalParams()

mongo::StorageGlobalParams::StorageGlobalParams ( )

Member Function Documentation

◆ reset()

void mongo::StorageGlobalParams::reset ( )

Member Data Documentation

◆ dbpath

std::string mongo::StorageGlobalParams::dbpath

◆ directoryperdb

bool mongo::StorageGlobalParams::directoryperdb

◆ dur

bool mongo::StorageGlobalParams::dur

◆ engine

std::string mongo::StorageGlobalParams::engine

◆ engineSetByUser

bool mongo::StorageGlobalParams::engineSetByUser

◆ groupCollections

bool mongo::StorageGlobalParams::groupCollections

◆ journalCommitIntervalMs

AtomicInt32 mongo::StorageGlobalParams::journalCommitIntervalMs

◆ kDefaultConfigDbPath

const char * mongo::StorageGlobalParams::kDefaultConfigDbPath = "/data/configdb"
static

◆ kDefaultDbPath

const char * mongo::StorageGlobalParams::kDefaultDbPath = "/data/db"
static

The directory where the mongod instance stores its data.

◆ kMaxJournalCommitIntervalMs

const int mongo::StorageGlobalParams::kMaxJournalCommitIntervalMs = 500
static

◆ kMaxSyncdelaySecs

const double mongo::StorageGlobalParams::kMaxSyncdelaySecs = 9.0 * 1000.0 * 1000.0
static

◆ noTableScan

AtomicBool mongo::StorageGlobalParams::noTableScan

◆ readOnly

bool mongo::StorageGlobalParams::readOnly

◆ repair

bool mongo::StorageGlobalParams::repair

◆ repairpath

std::string mongo::StorageGlobalParams::repairpath

◆ syncdelay

AtomicDouble mongo::StorageGlobalParams::syncdelay

◆ upgrade

bool mongo::StorageGlobalParams::upgrade

The documentation for this struct was generated from the following files: