comparison OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.h @ 5493:b3ebe249ed5b pg-transactions

At startup, when using a database plugin, display the latency to access the DB
author Alain Mazy <am@osimis.io>
date Mon, 15 Jan 2024 18:25:08 +0100
parents 176bc05f85f4
children 4dd50c4b985a
comparison
equal deleted inserted replaced
5492:26877f4b306f 5493:b3ebe249ed5b
75 virtual unsigned int GetDatabaseVersion() ORTHANC_OVERRIDE; 75 virtual unsigned int GetDatabaseVersion() ORTHANC_OVERRIDE;
76 76
77 virtual void Upgrade(unsigned int targetVersion, 77 virtual void Upgrade(unsigned int targetVersion,
78 IStorageArea& storageArea) ORTHANC_OVERRIDE; 78 IStorageArea& storageArea) ORTHANC_OVERRIDE;
79 79
80 virtual uint64_t MeasureLatency() ORTHANC_OVERRIDE
81 {
82 throw OrthancException(ErrorCode_NotImplemented); // only implemented in V4
83 }
84
80 const IDatabaseWrapper::Capabilities& GetDatabaseCapabilities() const ORTHANC_OVERRIDE 85 const IDatabaseWrapper::Capabilities& GetDatabaseCapabilities() const ORTHANC_OVERRIDE
81 { 86 {
82 return dbCapabilities_; 87 return dbCapabilities_;
83 } 88 }
84 89