Periodically updated caches control interface for testsuite. More...
#include <userver/testsuite/cache_control.hpp>
Public Types | |
| enum class | PeriodicUpdatesMode { kDefault , kEnabled , kDisabled } |
Public Member Functions | |
| CacheControl (PeriodicUpdatesMode) | |
| bool | IsPeriodicUpdateEnabled (const cache::Config &cache_config, const std::string &cache_name) const |
| Whether the cache with specified config should be updated periodically. | |
| void | InvalidateAllCaches (cache::UpdateType update_type) |
| void | InvalidateCaches (cache::UpdateType update_type, std::unordered_set< std::string > names) |
Friends | |
| class | CacheInvalidatorHolder |
Periodically updated caches control interface for testsuite.
All methods are coro-safe.
Definition at line 27 of file cache_control.hpp.
|
strong |
Definition at line 29 of file cache_control.hpp.
|
friend |
Definition at line 43 of file cache_control.hpp.