userver
C++ Async Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
fs_cache.hpp
Go to the documentation of this file.
1
#pragma once
2
5
6
#include <
userver/components/component_base.hpp
>
7
#include <
userver/fs/fs_cache_client.hpp
>
8
#include <
userver/yaml_config/fwd.hpp
>
9
10
USERVER_NAMESPACE_BEGIN
11
12
namespace
components
{
13
23
class
FsCache final :
public
components::ComponentBase
{
24
public
:
25
using
Client =
fs::FsCacheClient
;
26
27
FsCache(
const
components::ComponentConfig
& config,
const
components::ComponentContext
& context);
28
29
static
yaml_config::Schema
GetStaticConfigSchema
();
30
31
const
Client& GetClient()
const
;
32
33
private
:
34
Client client_;
35
};
36
37
template
<>
38
inline
constexpr
bool
kHasValidate<FsCache>
=
true
;
39
40
}
// namespace components
41
42
USERVER_NAMESPACE_END
userver
components
fs_cache.hpp
Generated on
for userver by
Doxygen
1.17.0