mongo::Extent Class Reference
#include <pdfile.h>
List of all members.
Detailed Description
Definition at line 220 of file pdfile.h.
Member Function Documentation
DiskLoc mongo::Extent::_reuse |
( |
const char * |
nsname |
) |
[private] |
void mongo::Extent::assertOk |
( |
|
) |
const [inline] |
void mongo::Extent::dump |
( |
iostream & |
s |
) |
[inline] |
FL* mongo::Extent::fl |
( |
|
) |
[inline] |
often we want to update just the firstRecord and lastRecord fields. this helper is for that -- for use with getDur().writing() method
Definition at line 294 of file pdfile.h.
static int mongo::Extent::followupSize |
( |
int |
len, |
|
|
int |
lastExtentLen | |
|
) |
| | [static] |
- Parameters:
-
| len | lengt of record we need |
| lastRecord | size of last extent which is a factor in next extent size |
Extent* mongo::Extent::getNextExtent |
( |
|
) |
[inline] |
Extent* mongo::Extent::getPrevExtent |
( |
|
) |
[inline] |
static int mongo::Extent::HeaderSize |
( |
|
) |
[inline, static] |
DiskLoc mongo::Extent::init |
( |
const char * |
nsname, |
|
|
int |
_length, |
|
|
int |
_fileNo, |
|
|
int |
_offset | |
|
) |
| | |
static int mongo::Extent::initialSize |
( |
int |
len |
) |
[static] |
- Parameters:
-
| len | lengt of record we need |
bool mongo::Extent::isOk |
( |
|
) |
const [inline] |
static int mongo::Extent::maxSize |
( |
|
) |
[static] |
static int mongo::Extent::minSize |
( |
|
) |
[inline, static] |
Record* mongo::Extent::newRecord |
( |
int |
len |
) |
|
DiskLoc mongo::Extent::reuse |
( |
const char * |
nsname |
) |
|
bool mongo::Extent::validates |
( |
|
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: