All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Eegeo::Web::Cache::HttpCache Class Reference
Inheritance diagram for Eegeo::Web::Cache::HttpCache:
Eegeo::Helpers::IHttpCache Eegeo::NonCopyable

Public Member Functions

 HttpCache (Helpers::IFileIO &fileIO, Eegeo::Helpers::CacheSize_t maxCacheSizeBytes=(4294967296ULL))
 
virtual void AddToCache (const Eegeo::Web::Cache::CacheRecord &cacheRecordToAdd)
 
virtual void RemoveFromCache (const std::string &url)
 
virtual bool TryGetCachedHeaderInfo (const std::string &url, std::string &out_cachedETag, std::string &out_cachedLastModified)
 
virtual void GetFileNameByUrl (std::string &name, const std::string &url)
 
virtual void SetMaxCacheSize (Helpers::CacheSize_t size)
 
virtual void ClearCache ()
 
virtual bool IsInCache (const std::string &url)
 
virtual void FlushInMemoryCacheRepresentation (bool prune)
 
virtual void ReloadCacheRepresentationFromStorage ()
 
virtual bool LoadLocallyCachedData (const std::string &url, std::vector< Byte > &out_buffer)
 
virtual bool GetEnabled ()
 
virtual void SetEnabled (bool enabled)
 

Additional Inherited Members

- Protected Member Functions inherited from Eegeo::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 

The documentation for this class was generated from the following files: