#include <userver/fs/fs_cache_client.hpp>
Configuration parameters for FsCacheClient.
Definition at line 31 of file fs_cache_client.hpp.
Public Attributes | |
| std::string | dir |
| Directory to cache files from. | |
| std::chrono::milliseconds | update_period {0} |
| Update period (0 - fill the cache only at startup), not used in Linux. | |
| engine::TaskProcessor & | task_processor |
| Task processor to do filesystem operations. | |
| std::size_t | max_size_to_cache = kDefaultMaxSizeToCache |
| For files larger than this limit, the full path is stored instead of the contents. | |
| std::string fs::FsCacheClient::Settings::dir |
Directory to cache files from.
Definition at line 33 of file fs_cache_client.hpp.
| std::size_t fs::FsCacheClient::Settings::max_size_to_cache = kDefaultMaxSizeToCache |
For files larger than this limit, the full path is stored instead of the contents.
Definition at line 42 of file fs_cache_client.hpp.
| engine::TaskProcessor& fs::FsCacheClient::Settings::task_processor |
Task processor to do filesystem operations.
Definition at line 39 of file fs_cache_client.hpp.
| std::chrono::milliseconds fs::FsCacheClient::Settings::update_period {0} |
Update period (0 - fill the cache only at startup), not used in Linux.
Definition at line 36 of file fs_cache_client.hpp.