summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency/locker.h
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2016-12-08 15:58:23 -0500
committerGeert Bosch <geert@mongodb.com>2016-12-12 18:09:50 -0500
commit6dc9fc6ba93b62830dd905f6fac39e0802566a9a (patch)
tree9f95655578a9e49f70bc4d4ce13d975b0e014d8e /src/mongo/db/concurrency/locker.h
parent4ae06d14a14f520f8d16228670ab2e1836173dbc (diff)
downloadmongo-6dc9fc6ba93b62830dd905f6fac39e0802566a9a.tar.gz
SERVER-26126 Remove broken LockState caching
Diffstat (limited to 'src/mongo/db/concurrency/locker.h')
-rw-r--r--src/mongo/db/concurrency/locker.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/concurrency/locker.h b/src/mongo/db/concurrency/locker.h
index e00882a498d..6dacd299e65 100644
--- a/src/mongo/db/concurrency/locker.h
+++ b/src/mongo/db/concurrency/locker.h
@@ -309,13 +309,6 @@ public:
virtual bool isReadLocked() const = 0;
/**
- * Asserts that the Locker is effectively not in use and resets the locking statistics.
- * This means, there should be no locks on it, no WUOW, etc, so it would be safe to call
- * the destructor or reuse the Locker.
- */
- virtual void assertEmptyAndReset() = 0;
-
- /**
* Pending means we are currently trying to get a lock (could be the parallel batch writer
* lock).
*/