#include <response_cache.h>
 | 
|   | ItemEndpointResponseCache (ResponseCache *owner, uint64_t ttl_ms) | 
|   | 
|   | ~ItemEndpointResponseCache () override | 
|   | 
| std::shared_ptr< CacheEntry >  | create_table_entry (const Uri &uri, const std::string &user_id, const std::string &data, int64_t items) | 
|   | 
| std::shared_ptr< CacheEntry >  | create_routine_entry (const Uri &uri, std::string_view req_body, const std::string &data, std::optional< helper::MediaType > media_type={}) | 
|   | 
| std::shared_ptr< CacheEntry >  | create_routine_entry (const Uri &uri, std::string_view req_body, const std::string &data, const std::string &media_type_str) | 
|   | 
| std::shared_ptr< CacheEntry >  | lookup_table (const Uri &uri, const std::string &user_id) | 
|   | 
| std::shared_ptr< CacheEntry >  | lookup_routine (const Uri &uri, std::string_view req_body) | 
|   | 
◆ ItemEndpointResponseCache()
      
        
          | mrs::ItemEndpointResponseCache::ItemEndpointResponseCache  | 
          ( | 
          ResponseCache *  | 
          owner,  | 
        
        
           | 
           | 
          uint64_t  | 
          ttl_ms  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ ~ItemEndpointResponseCache()
  
  
      
        
          | mrs::ItemEndpointResponseCache::~ItemEndpointResponseCache  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
override   | 
  
 
 
◆ create_routine_entry() [1/2]
      
        
          | std::shared_ptr< CacheEntry > mrs::ItemEndpointResponseCache::create_routine_entry  | 
          ( | 
          const Uri &  | 
          uri,  | 
        
        
           | 
           | 
          std::string_view  | 
          req_body,  | 
        
        
           | 
           | 
          const std::string &  | 
          data,  | 
        
        
           | 
           | 
          const std::string &  | 
          media_type_str  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ create_routine_entry() [2/2]
      
        
          | std::shared_ptr< CacheEntry > mrs::ItemEndpointResponseCache::create_routine_entry  | 
          ( | 
          const Uri &  | 
          uri,  | 
        
        
           | 
           | 
          std::string_view  | 
          req_body,  | 
        
        
           | 
           | 
          const std::string &  | 
          data,  | 
        
        
           | 
           | 
          std::optional< helper::MediaType >  | 
          media_type = {}  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ create_table_entry()
      
        
          | std::shared_ptr< CacheEntry > mrs::ItemEndpointResponseCache::create_table_entry  | 
          ( | 
          const Uri &  | 
          uri,  | 
        
        
           | 
           | 
          const std::string &  | 
          user_id,  | 
        
        
           | 
           | 
          const std::string &  | 
          data,  | 
        
        
           | 
           | 
          int64_t  | 
          items  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ lookup_routine()
      
        
          | std::shared_ptr< CacheEntry > mrs::ItemEndpointResponseCache::lookup_routine  | 
          ( | 
          const Uri &  | 
          uri,  | 
        
        
           | 
           | 
          std::string_view  | 
          req_body  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ lookup_table()
      
        
          | std::shared_ptr< CacheEntry > mrs::ItemEndpointResponseCache::lookup_table  | 
          ( | 
          const Uri &  | 
          uri,  | 
        
        
           | 
           | 
          const std::string &  | 
          user_id  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ remove_entry_nolock()
  
  
      
        
          | void mrs::ItemEndpointResponseCache::remove_entry_nolock  | 
          ( | 
          std::shared_ptr< CacheEntry >  | 
          entry,  | 
         
        
           | 
           | 
          bool  | 
          ejected  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
overrideprivatevirtual   | 
  
 
 
The documentation for this class was generated from the following files: