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

Returns information and locking statistics for this instance of the locker. More...

#include <locker.h>

Detailed Description

Returns information and locking statistics for this instance of the locker.

Used to support the db.currentOp view. This structure is not thread-safe and ideally should be used only for obtaining the necessary information and then discarded instead of reused.

Public Attributes

std::vector< OneLocklocks
 
ResourceId waitingResource
 
SingleThreadedLockStats stats
 

Member Data Documentation

◆ locks

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

◆ stats

SingleThreadedLockStats mongo::Locker::LockerInfo::stats

◆ waitingResource

ResourceId mongo::Locker::LockerInfo::waitingResource

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