diff options
author | Misha Tyulenev <misha@mongodb.com> | 2017-09-27 23:23:24 -0400 |
---|---|---|
committer | Misha Tyulenev <misha@mongodb.com> | 2017-09-27 23:23:46 -0400 |
commit | eeee1e2b64f70e8487f017ba579f3ca861c81e4f (patch) | |
tree | e1452828e142748f1f03be61a00c32dbb3ed6bc1 /src/mongo/db/service_context.h | |
parent | 55637833c707998f685f997d43624c52cde99b45 (diff) | |
download | mongo-eeee1e2b64f70e8487f017ba579f3ca861c81e4f.tar.gz |
SERVER-30977 add clusterTime to standalone replica set
Diffstat (limited to 'src/mongo/db/service_context.h')
-rw-r--r-- | src/mongo/db/service_context.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/mongo/db/service_context.h b/src/mongo/db/service_context.h index b33b3aeeb4b..6fa9fa96157 100644 --- a/src/mongo/db/service_context.h +++ b/src/mongo/db/service_context.h @@ -273,28 +273,6 @@ public: virtual StorageEngine* getGlobalStorageEngine() = 0; // - // Key manager, for HMAC keys. - // - - /** - * Sets the key manager on this service context. - */ - void setKeyManager(std::shared_ptr<KeysCollectionManager> keyManager) & { - stdx::lock_guard<stdx::mutex> lk(_mutex); - _keyManager = std::move(keyManager); - } - - /** - * Returns a pointer to the keys collection manager owned by this service context. - */ - std::shared_ptr<KeysCollectionManager> getKeyManager() & { - stdx::lock_guard<stdx::mutex> lk(_mutex); - return _keyManager; - } - - std::shared_ptr<KeysCollectionManager> getKeyManager() && = delete; - - // // Global operation management. This may not belong here and there may be too many methods // here. // @@ -483,11 +461,6 @@ private: virtual std::unique_ptr<OperationContext> _newOpCtx(Client* client, unsigned opId) = 0; /** - * The key manager. - */ - std::shared_ptr<KeysCollectionManager> _keyManager; - - /** * The periodic runner. */ std::unique_ptr<PeriodicRunner> _runner; |