![]() |
Storage Engine API
|
Stores the memory and the header for a complete journal buffer which is pending to be written by the journal writer thread. More...
#include <dur_journal_writer.h>
Stores the memory and the header for a complete journal buffer which is pending to be written by the journal writer thread.
Public Member Functions | |
Buffer (size_t initialSize) | |
~Buffer () | |
JSectHeader & | getHeader () |
AlignedBuilder & | getBuilder () |
void | setNoop () |
Public Attributes | |
JournalListener::Token | journalListenerToken |
Private Member Functions | |
void | _assertEmpty () |
void | _reset () |
void | _setShutdown () |
Private Attributes | |
CommitNotifier::When | _commitNumber |
bool | _isNoop |
bool | _isShutdown |
JSectHeader | _header |
AlignedBuilder | _builder |
Friends | |
class | BufferGuard |
class | JournalWriter |
mongo::dur::JournalWriter::Buffer::Buffer | ( | size_t | initialSize | ) |
mongo::dur::JournalWriter::Buffer::~Buffer | ( | ) |
|
private |
|
private |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
JournalListener::Token mongo::dur::JournalWriter::Buffer::journalListenerToken |