refs #646 Added timestamps in data cache load/save log messages.

This commit is contained in:
Mathew Sutcliffe
2016-05-19 22:42:30 +01:00
parent 74f577eec9
commit 9da53bd58b
4 changed files with 39 additions and 8 deletions

View File

@@ -126,6 +126,9 @@ namespace BlackMisc
//! Returns (by move) the container of promises to load values.
std::vector<std::promise<void>> loadedValuePromises();
//! Keys with timestamps.
QString timestampsAsString() const;
//! Set TTL value that will be written to the revision file.
void setTimeToLive(const QString &key, int ttl);