mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Caches: method to query keys of all unsaved values.
This commit is contained in:
@@ -171,6 +171,10 @@ namespace BlackMisc
|
||||
//! \threadsafe
|
||||
BlackMisc::CValueCachePacket getAllValuesWithTimestamps(const QString &keyPrefix = {}) const;
|
||||
|
||||
//! Return keys of all values which have been changed but not saved.
|
||||
//! \threadsafe
|
||||
QStringList getAllUnsavedKeys(const QString &keyPrefix = {}) const;
|
||||
|
||||
//! Add some values to the cache.
|
||||
//! Values already in the cache will remain in the cache unless they are overwritten.
|
||||
//! \threadsafe
|
||||
|
||||
Reference in New Issue
Block a user