Storage Engine API
mongo::Locker::LockSnapshot Struct Reference

LockSnapshot captures the state of all resources that are locked, what modes they're locked in, and how many times they've been locked in that mode. More...

#include <locker.h>

Detailed Description

LockSnapshot captures the state of all resources that are locked, what modes they're locked in, and how many times they've been locked in that mode.

Public Attributes

LockMode globalMode
 
std::vector< OneLocklocks
 

Member Data Documentation

◆ globalMode

LockMode mongo::Locker::LockSnapshot::globalMode

◆ locks

std::vector<OneLock> mongo::Locker::LockSnapshot::locks

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