Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IndexBackend.h @ 431:7c1fe5d6c12c pg-transactions
PG: IncrementGlobalProperty
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 07 Dec 2023 12:13:43 +0100 |
parents | 91124cc8a8c7 |
children | 5964ce6385a5 |
comparison
equal
deleted
inserted
replaced
430:f1f3c5554283 | 431:7c1fe5d6c12c |
---|---|
394 int64_t resource) ORTHANC_OVERRIDE; | 394 int64_t resource) ORTHANC_OVERRIDE; |
395 | 395 |
396 virtual void ListAllLabels(std::list<std::string>& target, | 396 virtual void ListAllLabels(std::list<std::string>& target, |
397 DatabaseManager& manager) ORTHANC_OVERRIDE; | 397 DatabaseManager& manager) ORTHANC_OVERRIDE; |
398 | 398 |
399 virtual bool HasAtomicIncrementGlobalProperty() ORTHANC_OVERRIDE; | |
400 | |
401 virtual int64_t IncrementGlobalProperty(DatabaseManager& manager, | |
402 const char* serverIdentifier, | |
403 int32_t property, | |
404 int64_t increment) ORTHANC_OVERRIDE; | |
405 | |
406 | |
399 /** | 407 /** |
400 * "maxDatabaseRetries" is to handle | 408 * "maxDatabaseRetries" is to handle |
401 * "OrthancPluginErrorCode_DatabaseCannotSerialize" if there is a | 409 * "OrthancPluginErrorCode_DatabaseCannotSerialize" if there is a |
402 * collision multiple writers. "countConnections" and | 410 * collision multiple writers. "countConnections" and |
403 * "maxDatabaseRetries" are only used if Orthanc >= 1.9.2. | 411 * "maxDatabaseRetries" are only used if Orthanc >= 1.9.2. |