Storage Engine API
mongo::LockRequestCombo Struct Reference

#include <lock_manager_test_help.h>

Inheritance diagram for mongo::LockRequestCombo:
mongo::LockRequest mongo::TrackingLockGrantNotification mongo::LockGrantNotification

Public Member Functions

 LockRequestCombo (Locker *locker)
 
- Public Member Functions inherited from mongo::LockRequest
void initNew (Locker *locker, LockGrantNotification *notify)
 Used for initialization of a LockRequest, which might have been retrieved from cache. More...
 
- Public Member Functions inherited from mongo::TrackingLockGrantNotification
 TrackingLockGrantNotification ()
 
virtual void notify (ResourceId resId, LockResult result)
 This method is invoked at most once for each lock request and indicates the outcome of the lock acquisition for the specified resource id. More...
 
- Public Member Functions inherited from mongo::LockGrantNotification
virtual ~LockGrantNotification ()
 

Additional Inherited Members

- Public Types inherited from mongo::LockRequest
enum  Status {
  STATUS_NEW, STATUS_GRANTED, STATUS_WAITING, STATUS_CONVERTING,
  StatusCount
}
 
- Public Attributes inherited from mongo::LockRequest
Lockerlocker
 
LockGrantNotificationnotify
 
bool enqueueAtFront
 
bool compatibleFirst
 
bool partitioned
 
unsigned recursiveCount
 
LockHeadlock
 
PartitionedLockHeadpartitionedLock
 
LockRequestprev
 
LockRequestnext
 
Status status
 
LockMode mode
 
LockMode convertMode
 
unsigned unlockPending = 0
 
- Public Attributes inherited from mongo::TrackingLockGrantNotification
int numNotifies
 
ResourceId lastResId
 
LockResult lastResult
 

Constructor & Destructor Documentation

◆ LockRequestCombo()

mongo::LockRequestCombo::LockRequestCombo ( Locker locker)
inlineexplicit

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