Mercurial > hg > orthanc
diff OrthancFramework/Sources/FileStorage/StorageCache.h @ 4900:ea5f1c6ed07e
fix cache of storage area
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 20 Feb 2022 16:29:33 +0100 |
parents | 43e613a7756b |
children | f656fb878b50 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/FileStorage/StorageCache.h Sun Feb 20 12:00:14 2022 +0100 +++ b/OrthancFramework/Sources/FileStorage/StorageCache.h Sun Feb 20 16:29:33 2022 +0100 @@ -37,7 +37,9 @@ **/ class ORTHANC_PUBLIC StorageCache : public boost::noncopyable { + private: MemoryStringCache cache_; + public: void SetMaximumSize(size_t size); @@ -50,7 +52,8 @@ const void* buffer, size_t size); - void Invalidate(const std::string& uuid, FileContentType contentType); + void Invalidate(const std::string& uuid, + FileContentType contentType); bool Fetch(std::string& value, const std::string& uuid,