comparison OrthancServer/Sources/Database/StatelessDatabaseOperations.h @ 5603:b2a97dfd719f

monitoring of stable resources now also considers the resource type
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 08 May 2024 10:29:35 +0200
parents c1ed59a5bdc2
children 3f24eb4013d8 f7adfb22e20e
comparison
equal deleted inserted replaced
5599:3487684fd331 5603:b2a97dfd719f
143 143
144 virtual void Commit() = 0; 144 virtual void Commit() = 0;
145 145
146 virtual int64_t GetCompressedSizeDelta() = 0; 146 virtual int64_t GetCompressedSizeDelta() = 0;
147 147
148 virtual bool IsUnstableResource(int64_t id) = 0; 148 virtual bool IsUnstableResource(Orthanc::ResourceType type,
149 int64_t id) = 0;
149 150
150 virtual bool LookupRemainingLevel(std::string& remainingPublicId /* out */, 151 virtual bool LookupRemainingLevel(std::string& remainingPublicId /* out */,
151 ResourceType& remainingLevel /* out */) = 0; 152 ResourceType& remainingLevel /* out */) = 0;
152 153
153 virtual void MarkAsUnstable(int64_t id, 154 virtual void MarkAsUnstable(Orthanc::ResourceType type,
154 Orthanc::ResourceType type, 155 int64_t id,
155 const std::string& publicId) = 0; 156 const std::string& publicId) = 0;
156 157
157 virtual void SignalAttachmentsAdded(uint64_t compressedSize) = 0; 158 virtual void SignalAttachmentsAdded(uint64_t compressedSize) = 0;
158 159
159 virtual void SignalChange(const ServerIndexChange& change) = 0; 160 virtual void SignalChange(const ServerIndexChange& change) = 0;