![]() |
Storage Engine API
|
an individual write operation within a group commit section. More...
#include <dur_journalformat.h>
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.)
Public Types | |
| enum | OpCodes { OpCode_Footer = 0xffffffff, OpCode_DbContext = 0xfffffffe, OpCode_FileCreated = 0xfffffffd, OpCode_DropDb = 0xfffffffc, OpCode_Min = 0xfffff000 } |
| enum | { DotNsSuffix = 0x7fffffff, LocalDbBit = 0x80000000 } |
Public Member Functions | |
| const char * | srcData () const |
| int | getFileNo () const |
| void | setFileNo (int f) |
| bool | isNsSuffix () const |
| void | setLocalDbContextBit () |
| bool | isLocalDbContext () const |
| void | clearLocalDbContextBit () |
Static Public Member Functions | |
| static std::string | suffix (int fileno) |
Public Attributes | |
| union { | |
| unsigned len | |
| OpCodes opcode | |
| }; | |
| unsigned | ofs |
| int | _fileNo |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
| union { ... } |
| int mongo::dur::JEntry::_fileNo |
| unsigned mongo::dur::JEntry::len |
| unsigned mongo::dur::JEntry::ofs |
| OpCodes mongo::dur::JEntry::opcode |