Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.h @ 3020:d207f6ac1f86 db-changes
tracking disk size by the database engine to ensure consistency across transactions
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 15 Dec 2018 10:57:18 +0100 |
parents | 0e1755e5efd0 |
children | 039a9d262d64 |
comparison
equal
deleted
inserted
replaced
3019:8336204d95dc | 3020:d207f6ac1f86 |
---|---|
67 | 67 |
68 std::auto_ptr<Listener> listener_; | 68 std::auto_ptr<Listener> listener_; |
69 IDatabaseWrapper& db_; | 69 IDatabaseWrapper& db_; |
70 LeastRecentlyUsedIndex<int64_t, UnstableResourcePayload> unstableResources_; | 70 LeastRecentlyUsedIndex<int64_t, UnstableResourcePayload> unstableResources_; |
71 | 71 |
72 uint64_t currentStorageSize_; | |
73 uint64_t maximumStorageSize_; | 72 uint64_t maximumStorageSize_; |
74 unsigned int maximumPatients_; | 73 unsigned int maximumPatients_; |
75 bool overwrite_; | 74 bool overwrite_; |
76 | 75 |
77 static void FlushThread(ServerIndex* that, | 76 static void FlushThread(ServerIndex* that, |