summaryrefslogtreecommitdiff
path: root/src/mongo/db/time_proof_service.h
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2017-09-27 23:23:24 -0400
committerMisha Tyulenev <misha@mongodb.com>2017-09-27 23:23:46 -0400
commiteeee1e2b64f70e8487f017ba579f3ca861c81e4f (patch)
treee1452828e142748f1f03be61a00c32dbb3ed6bc1 /src/mongo/db/time_proof_service.h
parent55637833c707998f685f997d43624c52cde99b45 (diff)
downloadmongo-eeee1e2b64f70e8487f017ba579f3ca861c81e4f.tar.gz
SERVER-30977 add clusterTime to standalone replica set
Diffstat (limited to 'src/mongo/db/time_proof_service.h')
-rw-r--r--src/mongo/db/time_proof_service.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/time_proof_service.h b/src/mongo/db/time_proof_service.h
index 0a981632d09..185a2394302 100644
--- a/src/mongo/db/time_proof_service.h
+++ b/src/mongo/db/time_proof_service.h
@@ -63,6 +63,11 @@ public:
*/
Status checkProof(LogicalTime time, const TimeProof& proof, const Key& key);
+ /**
+ * Resets the cache.
+ */
+ void resetCache();
+
private:
/**
* Nested class to cache TimeProof. It holds proof for the greatest time allowed.