summaryrefslogtreecommitdiff
path: root/src/mongo/db/ftdc/util.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2015-09-17 15:23:36 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2015-09-21 13:12:24 -0400
commit5c5108872a9af3e17b0da7edada0a9a780ade6a6 (patch)
treebdd9fd99036debb49e2d615796e92ba10d812e05 /src/mongo/db/ftdc/util.h
parentfa26f322c323f1ea913694bdc0e1b315c54665c9 (diff)
downloadmongo-5c5108872a9af3e17b0da7edada0a9a780ade6a6.tar.gz
SERVER-20417: Move file interim file
Diffstat (limited to 'src/mongo/db/ftdc/util.h')
-rw-r--r--src/mongo/db/ftdc/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/ftdc/util.h b/src/mongo/db/ftdc/util.h
index f2b57b77a81..ff81fe2f98c 100644
--- a/src/mongo/db/ftdc/util.h
+++ b/src/mongo/db/ftdc/util.h
@@ -175,6 +175,11 @@ namespace FTDCUtil {
boost::filesystem::path getInterimFile(const boost::filesystem::path& file);
/**
+ * Construct the full path to the interim temp file before it is renamed.
+ */
+boost::filesystem::path getInterimTempFile(const boost::filesystem::path& file);
+
+/**
* Round the specified time_point to the next multiple of period after the specified time_point
*/
Date_t roundTime(Date_t now, Milliseconds period);