Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IndexBackend.h @ 436:f16faa1fdc46 pg-transactions
InsertOrUpdateMetadata function + UpdateAndGetStatistics
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 15 Dec 2023 17:11:26 +0100 |
parents | 5964ce6385a5 |
children | 5881e4af5799 |
comparison
equal
deleted
inserted
replaced
435:326f8304daa1 | 436:f16faa1fdc46 |
---|---|
403 virtual int64_t IncrementGlobalProperty(DatabaseManager& manager, | 403 virtual int64_t IncrementGlobalProperty(DatabaseManager& manager, |
404 const char* serverIdentifier, | 404 const char* serverIdentifier, |
405 int32_t property, | 405 int32_t property, |
406 int64_t increment) ORTHANC_OVERRIDE; | 406 int64_t increment) ORTHANC_OVERRIDE; |
407 | 407 |
408 virtual bool HasUpdateAndGetStatistics() ORTHANC_OVERRIDE; | |
409 | |
410 virtual void UpdateAndGetStatistics(DatabaseManager& manager, | |
411 int64_t& patientsCount, | |
412 int64_t& studiesCount, | |
413 int64_t& seriesCount, | |
414 int64_t& instancesCount, | |
415 int64_t& compressedSize, | |
416 int64_t& uncompressedSize) ORTHANC_OVERRIDE; | |
408 | 417 |
409 /** | 418 /** |
410 * "maxDatabaseRetries" is to handle | 419 * "maxDatabaseRetries" is to handle |
411 * "OrthancPluginErrorCode_DatabaseCannotSerialize" if there is a | 420 * "OrthancPluginErrorCode_DatabaseCannotSerialize" if there is a |
412 * collision multiple writers. "countConnections" and | 421 * collision multiple writers. "countConnections" and |