Storage Engine API
mongo::RecordFetcher Class Referenceabstract

Used for yielding while data is fetched from disk. More...

#include <record_fetcher.h>

Inheritance diagram for mongo::RecordFetcher:
mongo::MmapV1RecordFetcher

Detailed Description

Used for yielding while data is fetched from disk.

See also
RecordStore::recordNeedsFetch

Public Member Functions

virtual ~RecordFetcher ()
 
virtual void setup (OperationContext *opCtx)=0
 Performs any setup which is needed prior to yielding locks. More...
 
virtual void fetch ()=0
 Called after locks are yielded in order to bring data into memory. More...
 

Constructor & Destructor Documentation

◆ ~RecordFetcher()

virtual mongo::RecordFetcher::~RecordFetcher ( )
inlinevirtual

Member Function Documentation

◆ fetch()

virtual void mongo::RecordFetcher::fetch ( )
pure virtual

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

Should not be called more than once.

Implemented in mongo::MmapV1RecordFetcher.

◆ setup()

virtual void mongo::RecordFetcher::setup ( OperationContext *  opCtx)
pure virtual

Performs any setup which is needed prior to yielding locks.

Implemented in mongo::MmapV1RecordFetcher.


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