#include <userver/fs/fs_cache_client.hpp>
Class client for storing files in memory Usually retrieved from components::FsCache.
Definition at line 28 of file fs_cache_client.hpp.
Classes | |
| struct | Settings |
| Configuration parameters for FsCacheClient. More... | |
Public Member Functions | |
| FsCacheClient (const Settings &settings) | |
| Fills the cache and starts periodic update. | |
| FileInfoWithDataConstPtr | TryGetFile (std::string_view path) const |
| get file from memory | |
| void | UpdateCache () |
| Concurrency-safe cache update. | |
| FileInfoWithDataConstPtr fs::FsCacheClient::TryGetFile | ( | std::string_view | path | ) | const |
get file from memory
| path | to file |