Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IndexBackend.h @ 447:5881e4af5799 pg-transactions
measure DB latency
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 15 Jan 2024 18:27:20 +0100 |
parents | f16faa1fdc46 |
children | f0976163dbe1 |
comparison
equal
deleted
inserted
replaced
446:9e039e65d68e | 447:5881e4af5799 |
---|---|
413 int64_t& seriesCount, | 413 int64_t& seriesCount, |
414 int64_t& instancesCount, | 414 int64_t& instancesCount, |
415 int64_t& compressedSize, | 415 int64_t& compressedSize, |
416 int64_t& uncompressedSize) ORTHANC_OVERRIDE; | 416 int64_t& uncompressedSize) ORTHANC_OVERRIDE; |
417 | 417 |
418 virtual bool HasMeasureLatency() ORTHANC_OVERRIDE; | |
419 | |
420 virtual uint64_t MeasureLatency(DatabaseManager& manager) ORTHANC_OVERRIDE; | |
421 | |
418 /** | 422 /** |
419 * "maxDatabaseRetries" is to handle | 423 * "maxDatabaseRetries" is to handle |
420 * "OrthancPluginErrorCode_DatabaseCannotSerialize" if there is a | 424 * "OrthancPluginErrorCode_DatabaseCannotSerialize" if there is a |
421 * collision multiple writers. "countConnections" and | 425 * collision multiple writers. "countConnections" and |
422 * "maxDatabaseRetries" are only used if Orthanc >= 1.9.2. | 426 * "maxDatabaseRetries" are only used if Orthanc >= 1.9.2. |