Storage Engine API
mongo::SavedCursorRegistry::SavedCursor Struct Reference

The destructor ensures the cursor is unregistered when an exception is thrown. More...

#include <record_store_v1_base.h>

Detailed Description

The destructor ensures the cursor is unregistered when an exception is thrown.

Note that the SavedCursor may outlive the registry it was saved in.

Public Member Functions

 SavedCursor ()
 
virtual ~SavedCursor ()
 

Public Attributes

DiskLoc bucket
 
BSONObj key
 
DiskLoc loc
 

Private Attributes

SavedCursorRegistry_registry
 

Friends

class SavedCursorRegistry
 

Constructor & Destructor Documentation

◆ SavedCursor()

mongo::SavedCursorRegistry::SavedCursor::SavedCursor ( )
inline

◆ ~SavedCursor()

virtual mongo::SavedCursorRegistry::SavedCursor::~SavedCursor ( )
inlinevirtual

Friends And Related Function Documentation

◆ SavedCursorRegistry

friend class SavedCursorRegistry
friend

Member Data Documentation

◆ _registry

SavedCursorRegistry* mongo::SavedCursorRegistry::SavedCursor::_registry
private

◆ bucket

DiskLoc mongo::SavedCursorRegistry::SavedCursor::bucket

◆ key

BSONObj mongo::SavedCursorRegistry::SavedCursor::key

◆ loc

DiskLoc mongo::SavedCursorRegistry::SavedCursor::loc

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