dodo
0.0.1
A C++ library to create containerized Linux services
|
A CachedEntry holds the Value as well as last load and last hit time. More...
#include <cache.hpp>
Data Fields | |
std::chrono::steady_clock::time_point | hit_time |
The last time get or load was called on this Key. More... | |
std::chrono::steady_clock::time_point | load_time |
The last time load was called on this Key. More... | |
Value | value |
The cached Value. More... | |
A CachedEntry holds the Value as well as last load and last hit time.
std::chrono::steady_clock::time_point dodo::common::Cache< Key, Value >::CacheEntry::hit_time |
std::chrono::steady_clock::time_point dodo::common::Cache< Key, Value >::CacheEntry::load_time |
Value dodo::common::Cache< Key, Value >::CacheEntry::value |