QGIS API Documentation 3.39.0-Master (47f7b3a4989)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsNullCacheStrategy Class Reference

Null system cache strategy for server configuration, completely disable cache invalidation invalidation. More...

#include <qgsconfigcache.h>

Inheritance diagram for QgsNullCacheStrategy:
Inheritance graph
[legend]

Public Member Functions

 QgsNullCacheStrategy ()=default
 Creates a new null strategy.
 
void attach (QgsConfigCache *owner) override
 Attaches cache to this strategy.
 
void entryInserted (const QString &path) override
 Called when an entry is inserted.
 
void entryRemoved (const QString &path) override
 Called when an entry is removed from cache.
 
QString name () const override
 The name of the strategy.
 
- Public Member Functions inherited from QgsAbstractCacheStrategy
virtual ~QgsAbstractCacheStrategy ()=default
 

Detailed Description

Null system cache strategy for server configuration, completely disable cache invalidation invalidation.

Since
QGIS 3.26

Definition at line 263 of file qgsconfigcache.h.

Constructor & Destructor Documentation

◆ QgsNullCacheStrategy()

QgsNullCacheStrategy::QgsNullCacheStrategy ( )
default

Creates a new null strategy.

Member Function Documentation

◆ attach()

void QgsNullCacheStrategy::attach ( QgsConfigCache owner)
overridevirtual

Attaches cache to this strategy.

Implements QgsAbstractCacheStrategy.

Definition at line 343 of file qgsconfigcache.cpp.

◆ entryInserted()

void QgsNullCacheStrategy::entryInserted ( const QString &  path)
overridevirtual

Called when an entry is inserted.

Parameters
pathThe path of the project

Implements QgsAbstractCacheStrategy.

Definition at line 353 of file qgsconfigcache.cpp.

◆ entryRemoved()

void QgsNullCacheStrategy::entryRemoved ( const QString &  path)
overridevirtual

Called when an entry is removed from cache.

Parameters
pathThe path of the project

Implements QgsAbstractCacheStrategy.

Definition at line 348 of file qgsconfigcache.cpp.

◆ name()

QString QgsNullCacheStrategy::name ( ) const
inlineoverridevirtual

The name of the strategy.

Implements QgsAbstractCacheStrategy.

Definition at line 270 of file qgsconfigcache.h.


The documentation for this class was generated from the following files: