![]() |
Storage Engine API
|
Turn on "parallel batch writer mode" by locking the global ParallelBatchWriterMode resource in exclusive mode. More...
#include <d_concurrency.h>
Turn on "parallel batch writer mode" by locking the global ParallelBatchWriterMode resource in exclusive mode.
This mode is off by default. Note that only one thread creates a ParallelBatchWriterMode object; the other batch writers just call setShouldConflictWithSecondaryBatchApplication(false).
Public Member Functions | |
ParallelBatchWriterMode (Locker *lockState) | |
Private Member Functions | |
MONGO_DISALLOW_COPYING (ParallelBatchWriterMode) | |
Private Attributes | |
ResourceLock | _pbwm |
ShouldNotConflictWithSecondaryBatchApplicationBlock | _shouldNotConflictBlock |
|
explicit |
|
private |
|
private |
|
private |