#include <distlock.h>
Public Member Functions | |
dist_lock_try (DistributedLock *lock, string why) | |
bool | got () const |
BSONObj | other () const |
~dist_lock_try () | |
Private Attributes | |
bool | _got |
DistributedLock * | _lock |
BSONObj | _other |
Definition at line 72 of file distlock.h.
mongo::dist_lock_try::dist_lock_try | ( | DistributedLock * | lock, | |
string | why | |||
) | [inline] |
Definition at line 74 of file distlock.h.
mongo::dist_lock_try::~dist_lock_try | ( | ) | [inline] |
Definition at line 79 of file distlock.h.
bool mongo::dist_lock_try::got | ( | ) | const [inline] |
Definition at line 85 of file distlock.h.
BSONObj mongo::dist_lock_try::other | ( | ) | const [inline] |
Definition at line 86 of file distlock.h.
bool mongo::dist_lock_try::_got [private] |
Definition at line 90 of file distlock.h.
DistributedLock* mongo::dist_lock_try::_lock [private] |
Definition at line 89 of file distlock.h.
BSONObj mongo::dist_lock_try::_other [private] |
Definition at line 91 of file distlock.h.