comparison OrthancServer/Plugins/Engine/OrthancPluginDatabase.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
107 const IDatabaseWrapper::Capabilities& GetDatabaseCapabilities() const ORTHANC_OVERRIDE 107 const IDatabaseWrapper::Capabilities& GetDatabaseCapabilities() const ORTHANC_OVERRIDE
108 { 108 {
109 return dbCapabilities_; 109 return dbCapabilities_;
110 } 110 }
111 111
112 virtual uint64_t MeasureLatency() ORTHANC_OVERRIDE
113 {
114 throw OrthancException(ErrorCode_NotImplemented); // only implemented in V4
115 }
112 116
113 void AnswerReceived(const _OrthancPluginDatabaseAnswer& answer); 117 void AnswerReceived(const _OrthancPluginDatabaseAnswer& answer);
114 }; 118 };
115 } 119 }
116 120