#include <response_cache.h>
◆ ResponseCache()
mrs::ResponseCache::ResponseCache |
( |
const std::string & |
config_key | ) |
|
|
inlineexplicit |
◆ configure()
void mrs::ResponseCache::configure |
( |
const std::string & |
options | ) |
|
◆ max_cache_size()
size_t mrs::ResponseCache::max_cache_size |
( |
| ) |
const |
|
inline |
◆ push()
void mrs::ResponseCache::push |
( |
std::shared_ptr< CacheEntry > |
entry | ) |
|
|
private |
◆ remove()
void mrs::ResponseCache::remove |
( |
std::shared_ptr< CacheEntry > |
entry | ) |
|
|
private |
◆ remove_all()
◆ remove_nolock()
void mrs::ResponseCache::remove_nolock |
( |
std::shared_ptr< CacheEntry > |
entry | ) |
|
|
private |
◆ shrink_object_cache()
void mrs::ResponseCache::shrink_object_cache |
( |
size_t |
extra_size = 0 | ) |
|
|
private |
◆ EndpointResponseCache
◆ FileEndpointResponseCache
◆ ItemEndpointResponseCache
◆ cache_size_
std::atomic<size_t> mrs::ResponseCache::cache_size_ = 0 |
|
private |
◆ config_key_
std::string mrs::ResponseCache::config_key_ |
|
private |
◆ entries_mutex_
std::mutex mrs::ResponseCache::entries_mutex_ |
|
private |
◆ max_size_
◆ newest_entry_
std::shared_ptr<CacheEntry> mrs::ResponseCache::newest_entry_ |
|
private |
◆ oldest_entry_
std::shared_ptr<CacheEntry> mrs::ResponseCache::oldest_entry_ |
|
private |
The documentation for this class was generated from the following files: