comparison OrthancFramework/Sources/Cache/MemoryObjectCache.h @ 4457:789676a8c96a

Refactoring and improvements to the cache of DICOM files in ServerContext
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 19 Jan 2021 19:05:04 +0100
parents 3e4f7b7840f0
children 434843934307
comparison
equal deleted inserted replaced
4456:3e4f7b7840f0 4457:789676a8c96a
62 public: 62 public:
63 MemoryObjectCache(); 63 MemoryObjectCache();
64 64
65 ~MemoryObjectCache(); 65 ~MemoryObjectCache();
66 66
67 size_t GetNumberOfItems(); // For unit tests only
68
67 size_t GetCurrentSize(); // For unit tests only 69 size_t GetCurrentSize(); // For unit tests only
68 70
69 size_t GetMaximumSize(); 71 size_t GetMaximumSize();
70 72
71 void SetMaximumSize(size_t size); 73 void SetMaximumSize(size_t size);