OpenQuizz
Une application de gestion des contenus pédagogiques
CachingDB Class Reference
Inheritance diagram for CachingDB:
Collaboration diagram for CachingDB:

Public Member Functions

def update_cache (self, force=False)
 

Detailed Description

A database which uses caches to speed-up access

Member Function Documentation

◆ update_cache()

def update_cache (   self,
  force = False 
)
Call this method if the underlying data changed to trigger an update
of the internal caching structures.

:param force: if True, the update must be performed. Otherwise the implementation
    may decide not to perform an update if it thinks nothing has changed.
:return: True if an update was performed as something change indeed

Reimplemented in CompoundDB, PackedDB, and ReferenceDB.


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