Storage Engine API
mongo::dur::BufferGuard Class Reference

Used inside the journal writer thread to ensure that used buffers are cleaned up properly. More...

Detailed Description

Used inside the journal writer thread to ensure that used buffers are cleaned up properly.

Public Member Functions

 BufferGuard (JournalWriter::Buffer *buffer, JournalWriter::BufferQueue *bufferQueue)
 
 ~BufferGuard ()
 

Private Member Functions

 MONGO_DISALLOW_COPYING (BufferGuard)
 

Private Attributes

JournalWriter::Buffer *const _buffer
 
JournalWriter::BufferQueue *const _bufferQueue
 

Constructor & Destructor Documentation

◆ BufferGuard()

mongo::dur::BufferGuard::BufferGuard ( JournalWriter::Buffer buffer,
JournalWriter::BufferQueue bufferQueue 
)
inline

◆ ~BufferGuard()

mongo::dur::BufferGuard::~BufferGuard ( )
inline

Member Function Documentation

◆ MONGO_DISALLOW_COPYING()

mongo::dur::BufferGuard::MONGO_DISALLOW_COPYING ( BufferGuard  )
private

Member Data Documentation

◆ _buffer

JournalWriter::Buffer* const mongo::dur::BufferGuard::_buffer
private

◆ _bufferQueue

JournalWriter::BufferQueue* const mongo::dur::BufferGuard::_bufferQueue
private

The documentation for this class was generated from the following file: