|CacheCleanerInhibitor (AkonadiServer &akonadi, bool inhibit=true)|
A RAII helper class to temporarily stop the CacheCleaner.
This allows long-lasting operations to safely retrieve all data from resource and perform an operation on them (like move or copy) without risking that the cache will be cleaned in the meanwhile
The inhibitor is recursive, so it's possible to create multiple instances of the CacheCleanerInhibitor and the CacheCleaner will be inhibited until all instances are destroyed again. However it's not possible to inhibit a single inhibitor multiple times.
The documentation for this class was generated from the following files: