userver: userver/cache/base_mongo_cache.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
base_mongo_cache.hpp File Reference

Detailed Description

Base class for all caches polling mongo collection

Definition in file base_mongo_cache.hpp.

Go to the source code of this file.

+ Include dependency graph for base_mongo_cache.hpp:

Classes

class  components::MongoCache< MongoCacheTraits >
 Base class for all caches polling mongo collection More...
 

Namespaces

namespace  components
 Contains functions and types to start a userver based service/tool.
 

Variables

const std::string components::kFetchAndParseStage = "fetch_and_parse"
 
constexpr std::chrono::milliseconds components::kCpuRelaxThreshold {10}
 
constexpr std::chrono::milliseconds components::kCpuRelaxInterval {2}
 
template<class MongoCacheTraits >
constexpr bool components::kHasValidate< MongoCache< MongoCacheTraits > > = true