mongo::MongoDataFile Class Reference
#include <pdfile.h>
List of all members.
Detailed Description
Definition at line 62 of file pdfile.h.
Constructor & Destructor Documentation
mongo::MongoDataFile::MongoDataFile |
( |
int |
fn |
) |
[inline] |
Member Function Documentation
Extent * mongo::MongoDataFile::_getExtent |
( |
DiskLoc |
loc |
) |
const [inline, private] |
void mongo::MongoDataFile::badOfs |
( |
int |
|
) |
const [private] |
void mongo::MongoDataFile::badOfs2 |
( |
int |
|
) |
const [private] |
Extent* mongo::MongoDataFile::createExtent |
( |
const char * |
ns, |
|
|
int |
approxSize, |
|
|
bool |
capped = false , |
|
|
int |
loops = 0 | |
|
) |
| | |
Extent* mongo::MongoDataFile::debug_getExtent |
( |
DiskLoc |
loc |
) |
[inline] |
only use fore debugging
Definition at line 86 of file pdfile.h.
int mongo::MongoDataFile::defaultSize |
( |
const char * |
filename |
) |
const [private] |
void mongo::MongoDataFile::flush |
( |
bool |
sync |
) |
|
Extent * mongo::MongoDataFile::getExtent |
( |
DiskLoc |
loc |
) |
const [inline, private] |
void mongo::MongoDataFile::grow |
( |
DiskLoc |
dl, |
|
|
int |
size | |
|
) |
| | [private] |
unsigned long long mongo::MongoDataFile::length |
( |
|
) |
const [inline] |
Record * mongo::MongoDataFile::makeRecord |
( |
DiskLoc |
dl, |
|
|
int |
size | |
|
) |
| | [inline, private] |
static int mongo::MongoDataFile::maxSize |
( |
|
) |
[static] |
void mongo::MongoDataFile::open |
( |
const char * |
filename, |
|
|
int |
requestedDataSize = 0 , |
|
|
bool |
preallocateOnly = false | |
|
) |
| | |
char* mongo::MongoDataFile::p |
( |
|
) |
const [inline, private] |
Record * mongo::MongoDataFile::recordAt |
( |
DiskLoc |
dl |
) |
[inline, private] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: