#include <dur_journalformat.h>
Public Types | |
enum | { DotNsSuffix = 0x7fffffff, LocalDbBit = 0x80000000 } |
enum | OpCodes { OpCode_Footer = 0xffffffff, OpCode_DbContext = 0xfffffffe, OpCode_FileCreated = 0xfffffffd, OpCode_DropDb = 0xfffffffc, OpCode_Min = 0xfffff000 } |
Public Member Functions | |
void | clearLocalDbContextBit () |
int | getFileNo () const |
bool | isLocalDbContext () const |
bool | isNsSuffix () const |
void | setFileNo (int f) |
void | setLocalDbContextBit () |
const char * | srcData () const |
Static Public Member Functions | |
static string | suffix (int fileno) |
Public Attributes | |
union { | |
unsigned len | |
OpCodes opcode | |
}; | |
int | _fileNo |
unsigned | ofs |
an individual write operation within a group commit section. Either the entire section should be applied, or nothing. (We check the md5 for the whole section before doing anything on recovery.)
Definition at line 70 of file dur_journalformat.h.
anonymous enum |
Definition at line 86 of file dur_journalformat.h.
Definition at line 71 of file dur_journalformat.h.
void mongo::dur::JEntry::clearLocalDbContextBit | ( | ) | [inline] |
Definition at line 104 of file dur_journalformat.h.
int mongo::dur::JEntry::getFileNo | ( | ) | const [inline] |
Definition at line 98 of file dur_journalformat.h.
bool mongo::dur::JEntry::isLocalDbContext | ( | ) | const [inline] |
Definition at line 103 of file dur_journalformat.h.
bool mongo::dur::JEntry::isNsSuffix | ( | ) | const [inline] |
Definition at line 100 of file dur_journalformat.h.
void mongo::dur::JEntry::setFileNo | ( | int | f | ) | [inline] |
Definition at line 99 of file dur_journalformat.h.
void mongo::dur::JEntry::setLocalDbContextBit | ( | ) | [inline] |
Definition at line 102 of file dur_journalformat.h.
const char* mongo::dur::JEntry::srcData | ( | ) | const [inline] |
Definition at line 93 of file dur_journalformat.h.
static string mongo::dur::JEntry::suffix | ( | int | fileno | ) | [inline, static] |
Definition at line 106 of file dur_journalformat.h.
union { ... } |
Definition at line 90 of file dur_journalformat.h.
unsigned mongo::dur::JEntry::len |
Definition at line 79 of file dur_journalformat.h.
unsigned mongo::dur::JEntry::ofs |
Definition at line 83 of file dur_journalformat.h.
Definition at line 80 of file dur_journalformat.h.