|
QGIS API Documentation 4.3.0-Master (16eddb2670e)
|
Abstract base class for implementing cache invalidation strategy. More...
#include <qgsconfigcache.h>

Public Member Functions | |
| virtual | ~QgsAbstractCacheStrategy ()=default |
| virtual void | attach (QgsConfigCache *cache)=0 |
| Attache cache to this strategy. | |
| virtual void | entryInserted (const QString &path)=0 |
| Called when an entry is removed from cache. | |
| virtual void | entryRemoved (const QString &path)=0 |
| Called when an entry is removed from cache. | |
| virtual QString | name () const =0 |
| The name of the strategy. | |
Abstract base class for implementing cache invalidation strategy.
Definition at line 48 of file qgsconfigcache.h.
|
virtualdefault |
|
pure virtual |
Attache cache to this strategy.
Implemented in QgsFileSystemCacheStrategy, QgsNullCacheStrategy, and QgsPeriodicCacheStrategy.
|
pure virtual |
Called when an entry is removed from cache.
| path | The path of the project |
Implemented in QgsFileSystemCacheStrategy, QgsNullCacheStrategy, and QgsPeriodicCacheStrategy.
|
pure virtual |
Called when an entry is removed from cache.
| path | The path of the project |
Implemented in QgsFileSystemCacheStrategy, QgsNullCacheStrategy, and QgsPeriodicCacheStrategy.
|
pure virtual |
The name of the strategy.
Implemented in QgsFileSystemCacheStrategy, QgsNullCacheStrategy, and QgsPeriodicCacheStrategy.