diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2019-10-31 16:38:01 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-31 16:38:01 +0000 |
commit | 1f94484d52064e12baedc7b586a8238d63560baf (patch) | |
tree | 5bb03cebfcb2d3137321b4762a0500f8831463dd /src/mongo/db/logical_session_cache.h | |
parent | 7a3d17ea6b73bc916d94e59a44d5c1a56cbcb2e5 (diff) | |
download | mongo-1f94484d52064e12baedc7b586a8238d63560baf.tar.gz |
SERVER-42508 Get rid of some additional unused code in SessionsCollection
... and also improve comments.
Diffstat (limited to 'src/mongo/db/logical_session_cache.h')
-rw-r--r-- | src/mongo/db/logical_session_cache.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mongo/db/logical_session_cache.h b/src/mongo/db/logical_session_cache.h index 7dcbb8a5373..a6785d00494 100644 --- a/src/mongo/db/logical_session_cache.h +++ b/src/mongo/db/logical_session_cache.h @@ -40,10 +40,6 @@ namespace mongo { -class Client; -class OperationContext; -class ServiceContext; - /** * The interface for the logical session cache */ @@ -87,12 +83,12 @@ public: * Refreshes the cache synchronously. This flushes all pending refreshes and inserts to the * sessions collection. */ - virtual Status refreshNow(Client* client) = 0; + virtual Status refreshNow(OperationContext* opCtx) = 0; /** * Reaps transaction records synchronously. */ - virtual Status reapNow(Client* client) = 0; + virtual void reapNow(OperationContext* opCtx) = 0; /** * Returns the number of session records currently in the cache. |