summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/user_cache_invalidator_job.h
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2018-12-12 12:31:58 -0500
committerBilly Donahue <billy.donahue@mongodb.com>2018-12-20 14:08:40 -0500
commit93132f19c734b9177542c738b350f8d88fb46bd3 (patch)
tree5da8012a467eca49af539e4c33fe8b4f65958e10 /src/mongo/db/auth/user_cache_invalidator_job.h
parenta7bf3ca5bbf09d5358613c47f19ddfa0d63552c0 (diff)
downloadmongo-93132f19c734b9177542c738b350f8d88fb46bd3.tar.gz
SERVER-38489: convert server parameter to IDL
Diffstat (limited to 'src/mongo/db/auth/user_cache_invalidator_job.h')
-rw-r--r--src/mongo/db/auth/user_cache_invalidator_job.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/auth/user_cache_invalidator_job.h b/src/mongo/db/auth/user_cache_invalidator_job.h
index 52958ff246d..e487f59dcde 100644
--- a/src/mongo/db/auth/user_cache_invalidator_job.h
+++ b/src/mongo/db/auth/user_cache_invalidator_job.h
@@ -27,6 +27,7 @@
* exception statement from all source files in the program, then also delete
* it in the license file.
*/
+#pragma once
#include "mongo/bson/oid.h"
#include "mongo/util/background.h"
@@ -60,4 +61,6 @@ private:
OID _previousCacheGeneration;
};
+Status userCacheInvalidationIntervalSecsNotify(const int& newValue);
+
} // namespace mongo