MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mrs::CacheEntry Struct Reference

#include <response_cache.h>

Public Types

using TimeType = std::chrono::time_point< std::chrono::system_clock >
 

Public Attributes

std::string data
 
int64_t items = 0
 
std::optional< helper::MediaTypemedia_type
 
std::optional< std::string > media_type_str
 
std::string key
 
TimeType expiration_time
 
EndpointResponseCacheowner
 
std::shared_ptr< CacheEntrynext_ptr
 
std::shared_ptr< CacheEntryprev_ptr
 

Member Typedef Documentation

◆ TimeType

using mrs::CacheEntry::TimeType = std::chrono::time_point<std::chrono::system_clock>

Member Data Documentation

◆ data

std::string mrs::CacheEntry::data

◆ expiration_time

TimeType mrs::CacheEntry::expiration_time

◆ items

int64_t mrs::CacheEntry::items = 0

◆ key

std::string mrs::CacheEntry::key

◆ media_type

std::optional<helper::MediaType> mrs::CacheEntry::media_type

◆ media_type_str

std::optional<std::string> mrs::CacheEntry::media_type_str

◆ next_ptr

std::shared_ptr<CacheEntry> mrs::CacheEntry::next_ptr

◆ owner

EndpointResponseCache* mrs::CacheEntry::owner

◆ prev_ptr

std::shared_ptr<CacheEntry> mrs::CacheEntry::prev_ptr

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