summaryrefslogtreecommitdiff
path: root/src/mongo/db/sessions_collection.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2019-05-08 18:14:07 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2019-05-17 07:18:50 -0400
commitaa9f6a202e0709adf14046cb27504864adaf732b (patch)
tree144df4c5076284b611cf67ff54d63f2190a3a037 /src/mongo/db/sessions_collection.h
parent1d05d4b956221cfeb731892a4387d1470f999114 (diff)
downloadmongo-aa9f6a202e0709adf14046cb27504864adaf732b.tar.gz
SERVER-37837 Examine and reap sessions from the SessionsCatalog
This change makes the logical sessions cache query and reap sessions, which are possibly only in-memory on the SessionsCatalog.
Diffstat (limited to 'src/mongo/db/sessions_collection.h')
-rw-r--r--src/mongo/db/sessions_collection.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/sessions_collection.h b/src/mongo/db/sessions_collection.h
index 64e78c8a476..91ae86e7c9f 100644
--- a/src/mongo/db/sessions_collection.h
+++ b/src/mongo/db/sessions_collection.h
@@ -34,8 +34,6 @@
namespace mongo {
-class BSONArrayBuilder;
-class BSONObjBuilder;
class DBClientBase;
class OperationContext;
@@ -46,7 +44,6 @@ class OperationContext;
* implement their own classes that fulfill this interface.
*/
class SessionsCollection {
-
public:
static constexpr StringData kSessionsTTLIndex = "lsidTTLIndex"_sd;
@@ -98,6 +95,8 @@ public:
static BSONObj generateCollModCmd();
protected:
+ SessionsCollection();
+
/**
* Makes a send function for the given client.
*/