Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.h Wed Jan 10 15:26:10 2024 +0100 +++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.h Mon Jan 15 18:25:08 2024 +0100 @@ -77,6 +77,11 @@ virtual void Upgrade(unsigned int targetVersion, IStorageArea& storageArea) ORTHANC_OVERRIDE; + virtual uint64_t MeasureLatency() ORTHANC_OVERRIDE + { + throw OrthancException(ErrorCode_NotImplemented); // only implemented in V4 + } + const IDatabaseWrapper::Capabilities& GetDatabaseCapabilities() const ORTHANC_OVERRIDE { return dbCapabilities_;