Storage Engine API
mongo::MmapV1RecordFetcher Class Reference
Inheritance diagram for mongo::MmapV1RecordFetcher:
mongo::RecordFetcher

Public Member Functions

 MmapV1RecordFetcher (const MmapV1RecordHeader *record)
 
virtual void setup (OperationContext *opCtx)
 Performs any setup which is needed prior to yielding locks. More...
 
virtual void fetch ()
 Called after locks are yielded in order to bring data into memory. More...
 
- Public Member Functions inherited from mongo::RecordFetcher
virtual ~RecordFetcher ()
 

Private Member Functions

 MONGO_DISALLOW_COPYING (MmapV1RecordFetcher)
 

Private Attributes

const MmapV1RecordHeader_record
 
std::unique_ptr< LockMongoFilesShared_filesLock
 

Constructor & Destructor Documentation

◆ MmapV1RecordFetcher()

mongo::MmapV1RecordFetcher::MmapV1RecordFetcher ( const MmapV1RecordHeader record)
inlineexplicit

Member Function Documentation

◆ fetch()

virtual void mongo::MmapV1RecordFetcher::fetch ( )
inlinevirtual

Called after locks are yielded in order to bring data into memory.

Should not be called more than once.

Implements mongo::RecordFetcher.

◆ MONGO_DISALLOW_COPYING()

mongo::MmapV1RecordFetcher::MONGO_DISALLOW_COPYING ( MmapV1RecordFetcher  )
private

◆ setup()

virtual void mongo::MmapV1RecordFetcher::setup ( OperationContext *  opCtx)
inlinevirtual

Performs any setup which is needed prior to yielding locks.

Implements mongo::RecordFetcher.

Member Data Documentation

◆ _filesLock

std::unique_ptr<LockMongoFilesShared> mongo::MmapV1RecordFetcher::_filesLock
private

◆ _record

const MmapV1RecordHeader* mongo::MmapV1RecordFetcher::_record
private

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