#include <data_file.h>
◆ DataFile()
mongo::DataFile::DataFile |
( |
OperationContext * |
opCtx, |
|
|
int |
fn |
|
) |
| |
|
inline |
◆ _defaultSize()
int mongo::DataFile::_defaultSize |
( |
| ) |
const |
|
private |
◆ allocExtentArea()
DiskLoc mongo::DataFile::allocExtentArea |
( |
OperationContext * |
opCtx, |
|
|
int |
size |
|
) |
| |
◆ badOfs()
NOINLINE_DECL void mongo::DataFile::badOfs |
( |
int |
ofs | ) |
const |
|
private |
◆ close()
void mongo::DataFile::close |
( |
OperationContext * |
opCtx | ) |
|
|
inline |
Must be called before destruction.
◆ flush()
void mongo::DataFile::flush |
( |
bool |
sync | ) |
|
◆ getFd()
HANDLE mongo::DataFile::getFd |
( |
| ) |
|
|
inline |
◆ getHeader() [1/2]
◆ getHeader() [2/2]
◆ grow()
◆ header() [1/2]
◆ header() [2/2]
◆ length()
unsigned long long mongo::DataFile::length |
( |
| ) |
const |
|
inline |
◆ maxSize()
int mongo::DataFile::maxSize |
( |
| ) |
|
|
static |
◆ open()
void mongo::DataFile::open |
( |
OperationContext * |
opCtx, |
|
|
const char * |
filename, |
|
|
int |
requestedDataSize = 0 , |
|
|
bool |
preallocateOnly = false |
|
) |
| |
◆ openExisting()
Status mongo::DataFile::openExisting |
( |
OperationContext * |
opCtx, |
|
|
const char * |
filename |
|
) |
| |
- Returns
- true if found and opened. if uninitialized (prealloc only) does not open.
◆ p()
char* mongo::DataFile::p |
( |
| ) |
const |
|
inlineprivate |
◆ MmapV1ExtentManager
◆ _fileNo
const int mongo::DataFile::_fileNo |
|
private |
◆ _mb
void* mongo::DataFile::_mb |
|
private |
◆ mmf
The documentation for this class was generated from the following files:
- /home/louis/git/mongodbsource.github.io/src/src/mongo/db/storage/mmap_v1/data_file.h
- /home/louis/git/mongodbsource.github.io/src/src/mongo/db/storage/mmap_v1/data_file.cpp