userver: userver/cache/base_mongo_cache.hpp File Reference
Loading...
Searching...
No Matches
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.

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