mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
refs #494 Ability to "delete" all values in cache.
This commit is contained in:
@@ -121,6 +121,10 @@ namespace BlackMisc
|
||||
//! \threadsafe
|
||||
CStatusMessage loadFromFiles(const QString &directory);
|
||||
|
||||
//! Clear all values from the cache.
|
||||
//! \threadsafe
|
||||
void clearAllValues(const QString &keyPrefix = {});
|
||||
|
||||
//! Begins a batch of changes to be made through CCached instances owned by owner.
|
||||
//! \details All changes made through those CCached instances will be deferred until the returned RAII object is
|
||||
//! destroyed. If the destruction happens during stack unwinding due to an exception being thrown, the changes are
|
||||
|
||||
Reference in New Issue
Block a user