Testsuite interface for caches and cache-like components.
Definition in file cache_control.hpp.
Go to the source code of this file.
#include <functional>#include <memory>#include <string>#include <type_traits>#include <unordered_set>#include <userver/cache/update_type.hpp>#include <userver/components/component_fwd.hpp>#include <userver/components/state.hpp>#include <userver/utils/assert.hpp>
 Include dependency graph for cache_control.hpp:
 This graph shows which files directly or indirectly include this file:Classes | |
| class | testsuite::CacheControl | 
| Testsuite interface for caches and cache-like components.  More... | |
| class | testsuite::CacheResetRegistration | 
| RAII helper for testsuite registration. Must be kept alive to keep supporting cache resetting.  More... | |
Namespaces | |
| namespace | cache | 
| Utilities for caching.  | |
| namespace | components | 
| Contains functions and types to start a userver based service/tool.  | |
| namespace | testsuite | 
| Testsuite integration.  | |
Functions | |
| CacheControl & | testsuite::FindCacheControl (const components::ComponentContext &context) | 
| template<typename Component > | |
| CacheResetRegistration | testsuite::RegisterCache (const components::ComponentConfig &config, const components::ComponentContext &context, Component *self, void(Component::*reset_method)()) | 
| The method for registering a cache from component constructor. The returned handle must be kept alive to keep supporting cache resetting.   | |