![]() |
Storage Engine API
|
read through the memory mapped data of a journal file (journal/j._<n> file) throws More...
read through the memory mapped data of a journal file (journal/j._<n> file) throws
Public Member Functions | |
JournalSectionIterator (const JSectHeader &h, const void *compressed, unsigned compressedLen, bool doDurOpsRecovering) | |
JournalSectionIterator (const JSectHeader &h, const void *p, unsigned len) | |
bool | atEof () const |
unsigned long long | seqNumber () const |
void | next (ParsedJournalEntry &e) |
get the next entry from the log. More... | |
Private Member Functions | |
MONGO_DISALLOW_COPYING (JournalSectionIterator) | |
Private Attributes | |
unique_ptr< BufReader > | _entries |
const JSectHeader | _h |
const char * | _lastDbName |
const bool | _doDurOps |
string | _uncompressed |
|
inline |
|
inline |
|
inline |
|
private |
|
inline |
get the next entry from the log.
this function parses and combines JDbContext and JEntry's. throws on premature end of section.
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |