Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/StatelessDatabaseOperations.h Tue May 07 19:20:52 2024 +0200 +++ b/OrthancServer/Sources/Database/StatelessDatabaseOperations.h Wed May 08 10:29:35 2024 +0200 @@ -145,13 +145,14 @@ virtual int64_t GetCompressedSizeDelta() = 0; - virtual bool IsUnstableResource(int64_t id) = 0; + virtual bool IsUnstableResource(Orthanc::ResourceType type, + int64_t id) = 0; virtual bool LookupRemainingLevel(std::string& remainingPublicId /* out */, ResourceType& remainingLevel /* out */) = 0; - virtual void MarkAsUnstable(int64_t id, - Orthanc::ResourceType type, + virtual void MarkAsUnstable(Orthanc::ResourceType type, + int64_t id, const std::string& publicId) = 0; virtual void SignalAttachmentsAdded(uint64_t compressedSize) = 0;