userver: pytest_userver.plugins.caches.InvalidationState Class Reference
Loading...
Searching...
No Matches
pytest_userver.plugins.caches.InvalidationState Class Reference

Detailed Description

Definition at line 25 of file caches.py.

Public Member Functions

 __init__ (self, CacheConfig cache_config)
 
None invalidate_all (self)
 
None invalidate (self, typing.Iterable[str] caches)
 
bool should_update_all_caches (self)
 
typing.FrozenSet[str] caches_to_update (self)
 
bool has_caches_to_update (self)
 
 incremental_caches (self)
 
None on_caches_updated (self, typing.Iterable[str] caches)
 
None on_all_caches_updated (self)
 
None assign_copy (self, 'InvalidationState' other)
 

Protected Attributes

 _cache_config
 
 _invalidated_caches
 

Constructor & Destructor Documentation

◆ __init__()

pytest_userver.plugins.caches.InvalidationState.__init__ ( self,
CacheConfig cache_config )

Definition at line 26 of file caches.py.

Member Function Documentation

◆ assign_copy()

None pytest_userver.plugins.caches.InvalidationState.assign_copy ( self,
'InvalidationState' other )

Definition at line 64 of file caches.py.

◆ caches_to_update()

typing.FrozenSet[str] pytest_userver.plugins.caches.InvalidationState.caches_to_update ( self)

Definition at line 44 of file caches.py.

◆ has_caches_to_update()

bool pytest_userver.plugins.caches.InvalidationState.has_caches_to_update ( self)

Definition at line 49 of file caches.py.

◆ incremental_caches()

pytest_userver.plugins.caches.InvalidationState.incremental_caches ( self)

Definition at line 54 of file caches.py.

◆ invalidate()

None pytest_userver.plugins.caches.InvalidationState.invalidate ( self,
typing.Iterable[str] caches )

Definition at line 35 of file caches.py.

◆ invalidate_all()

None pytest_userver.plugins.caches.InvalidationState.invalidate_all ( self)

Definition at line 32 of file caches.py.

◆ on_all_caches_updated()

None pytest_userver.plugins.caches.InvalidationState.on_all_caches_updated ( self)

Definition at line 61 of file caches.py.

◆ on_caches_updated()

None pytest_userver.plugins.caches.InvalidationState.on_caches_updated ( self,
typing.Iterable[str] caches )

Definition at line 57 of file caches.py.

◆ should_update_all_caches()

bool pytest_userver.plugins.caches.InvalidationState.should_update_all_caches ( self)

Definition at line 40 of file caches.py.

Member Data Documentation

◆ _cache_config

pytest_userver.plugins.caches.InvalidationState._cache_config
protected

Definition at line 30 of file caches.py.

◆ _invalidated_caches

pytest_userver.plugins.caches.InvalidationState._invalidated_caches
protected

Definition at line 33 of file caches.py.


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