userver: components::FsCache Class Reference
Loading...
Searching...
No Matches
components::FsCache Class Referencefinal

#include <userver/components/fs_cache.hpp>

Detailed Description

Component for storing files in memory.

Static options:

Name Description Default value
dir directory to cache files from   /var/www
update-period Update period (0 - fill the cache only at startup) 0
fs-task-processor task processor to do filesystem operations fs-task-processor

Definition at line 30 of file fs_cache.hpp.

+ Inheritance diagram for components::FsCache:
+ Collaboration diagram for components::FsCache:

Public Types

using Client = fs::FsCacheClient
 

Public Member Functions

 FsCache (const components::ComponentConfig &config, const components::ComponentContext &context)
 
const ClientGetClient () const
 
- Public Member Functions inherited from components::LoggableComponentBase
 LoggableComponentBase (const ComponentConfig &, const ComponentContext &)
 
 LoggableComponentBase (LoggableComponentBase &&)=delete
 
 LoggableComponentBase (const LoggableComponentBase &)=delete
 
 ~LoggableComponentBase () override=default
 
ComponentHealth GetComponentHealth () const override
 
void OnLoadingCancelled () override
 
void OnAllComponentsLoaded () override
 
void OnAllComponentsAreStopping () override
 

Static Public Member Functions

static yaml_config::Schema GetStaticConfigSchema ()
 
- Static Public Member Functions inherited from components::LoggableComponentBase
static yaml_config::Schema GetStaticConfigSchema ()
 

Member Typedef Documentation

◆ Client

Definition at line 32 of file fs_cache.hpp.


The documentation for this class was generated from the following file: