#include <response_cache.h>
◆ UniversalId
◆ Uri
◆ EndpointResponseCache()
  
  
      
        
          | mrs::EndpointResponseCache::EndpointResponseCache  | 
          ( | 
          ResponseCache *  | 
          owner,  | 
         
        
           | 
           | 
          uint64_t  | 
          ttl_ms  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ ~EndpointResponseCache()
  
  
      
        
          | virtual mrs::EndpointResponseCache::~EndpointResponseCache  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtualdefault   | 
  
 
 
◆ create_entry()
  
  
      
        
          | std::shared_ptr< CacheEntry > mrs::EndpointResponseCache::create_entry  | 
          ( | 
          const std::string &  | 
          key,  | 
         
        
           | 
           | 
          const std::string &  | 
          data,  | 
         
        
           | 
           | 
          int64_t  | 
          items = 0,  | 
         
        
           | 
           | 
          std::optional< helper::MediaType >  | 
          media_type = {},  | 
         
        
           | 
           | 
          std::optional< std::string >  | 
          media_type_str = {}  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ lookup()
  
  
      
        
          | std::shared_ptr< CacheEntry > mrs::EndpointResponseCache::lookup  | 
          ( | 
          const std::string &  | 
          key | ) | 
           const | 
         
       
   | 
  
protected   | 
  
 
 
◆ remove_entry()
  
  
      
        
          | void mrs::EndpointResponseCache::remove_entry  | 
          ( | 
          std::shared_ptr< CacheEntry >  | 
          entry,  | 
         
        
           | 
           | 
          bool  | 
          ejected  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ remove_entry_nolock()
  
  
      
        
          | void mrs::EndpointResponseCache::remove_entry_nolock  | 
          ( | 
          std::shared_ptr< CacheEntry >  | 
          entry,  | 
         
        
           | 
           | 
          bool  | 
          ejected  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
◆ ResponseCache
◆ cache_
  
  
      
        
          | std::unordered_map<std::string, std::shared_ptr<CacheEntry> > mrs::EndpointResponseCache::cache_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ cache_mutex_
  
  
      
        
          | std::shared_mutex mrs::EndpointResponseCache::cache_mutex_ | 
         
       
   | 
  
mutableprotected   | 
  
 
 
◆ owner_
◆ ttl_
  
  
      
        
          | std::chrono::milliseconds mrs::EndpointResponseCache::ttl_ | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: