Storage Engine API
mongo::ShouldNotConflictWithSecondaryBatchApplicationBlock Class Reference

RAII-style class to opt out of replication's use of ParallelBatchWriterMode. More...

#include <locker.h>

Detailed Description

RAII-style class to opt out of replication's use of ParallelBatchWriterMode.

Public Member Functions

 ShouldNotConflictWithSecondaryBatchApplicationBlock (Locker *lockState)
 
 ~ShouldNotConflictWithSecondaryBatchApplicationBlock ()
 

Private Member Functions

 MONGO_DISALLOW_COPYING (ShouldNotConflictWithSecondaryBatchApplicationBlock)
 

Private Attributes

Locker *const _lockState
 
const bool _originalShouldConflict
 

Constructor & Destructor Documentation

◆ ShouldNotConflictWithSecondaryBatchApplicationBlock()

mongo::ShouldNotConflictWithSecondaryBatchApplicationBlock::ShouldNotConflictWithSecondaryBatchApplicationBlock ( Locker lockState)
inlineexplicit

◆ ~ShouldNotConflictWithSecondaryBatchApplicationBlock()

mongo::ShouldNotConflictWithSecondaryBatchApplicationBlock::~ShouldNotConflictWithSecondaryBatchApplicationBlock ( )
inline

Member Function Documentation

◆ MONGO_DISALLOW_COPYING()

mongo::ShouldNotConflictWithSecondaryBatchApplicationBlock::MONGO_DISALLOW_COPYING ( ShouldNotConflictWithSecondaryBatchApplicationBlock  )
private

Member Data Documentation

◆ _lockState

Locker* const mongo::ShouldNotConflictWithSecondaryBatchApplicationBlock::_lockState
private

◆ _originalShouldConflict

const bool mongo::ShouldNotConflictWithSecondaryBatchApplicationBlock::_originalShouldConflict
private

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