comparison OrthancServer/ServerContext.h @ 3557:4d809b2e1141

better cache toolbox: MemoryObjectCache
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 04 Nov 2019 15:18:38 +0100
parents 41365091a41e
children 94f4a18a79cc
comparison
equal deleted inserted replaced
3556:87940f7156e0 3557:4d809b2e1141
118 { 118 {
119 return context_.filterLua_.FilterIncomingInstance(instance, simplified); 119 return context_.filterLua_.FilterIncomingInstance(instance, simplified);
120 } 120 }
121 }; 121 };
122 122
123 class DicomCacheProvider : public ICachePageProvider 123 class DicomCacheProvider : public Deprecated::ICachePageProvider // TODO
124 { 124 {
125 private: 125 private:
126 ServerContext& context_; 126 ServerContext& context_;
127 127
128 public: 128 public:
184 bool compressionEnabled_; 184 bool compressionEnabled_;
185 bool storeMD5_; 185 bool storeMD5_;
186 186
187 DicomCacheProvider provider_; 187 DicomCacheProvider provider_;
188 boost::mutex dicomCacheMutex_; 188 boost::mutex dicomCacheMutex_;
189 MemoryCache dicomCache_; 189 Deprecated::MemoryCache dicomCache_; // TODO
190 190
191 LuaScripting mainLua_; 191 LuaScripting mainLua_;
192 LuaScripting filterLua_; 192 LuaScripting filterLua_;
193 LuaServerListener luaListener_; 193 LuaServerListener luaListener_;
194 std::auto_ptr<SharedArchive> mediaArchive_; 194 std::auto_ptr<SharedArchive> mediaArchive_;