![]() |
Storage Engine API
|
#include <d_concurrency.h>
Classes | |
| class | CollectionLock |
| Collection lock with support for document-level locking. More... | |
| class | DBLock |
| Database lock with support for collection- and document-level locking. More... | |
| class | ExclusiveLock |
| Obtains a ResourceMutex for exclusive use. More... | |
| class | GlobalLock |
| Global lock. More... | |
| class | GlobalRead |
| Global shared lock. More... | |
| class | GlobalWrite |
| Global exclusive lock. More... | |
| class | OplogIntentWriteLock |
| Like the CollectionLock, but optimized for the local oplog. More... | |
| class | ParallelBatchWriterMode |
| Turn on "parallel batch writer mode" by locking the global ParallelBatchWriterMode resource in exclusive mode. More... | |
| class | ResourceLock |
| General purpose RAII wrapper for a resource managed by the lock manager. More... | |
| class | ResourceMutex |
| For use as general mutex or readers/writers lock, outside the general multi-granularity model. More... | |
| class | SharedLock |
| Obtains a ResourceMutex for shared/non-exclusive use. More... | |
| class | TempRelease |
| NOTE: DO NOT add any new usages of TempRelease. More... | |
Public Types | |
| enum | InterruptBehavior { InterruptBehavior::kThrow, InterruptBehavior::kLeaveUnlocked } |
| The interrupt behavior is used to tell a lock how to handle an interrupted lock acquisition. More... | |
|
strong |