Mercurial > hg > orthanc-databases
comparison Framework/Common/IDatabaseFactory.h @ 141:0b3e9ee53c46
Added 'MaximumConnectionRetries' & 'ConnectionRetryInterval' to configure the retries when connecting to the DB at startup
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 03 Feb 2020 22:29:51 +0100 |
parents | 4cd7e45b671e |
children | 3236894320d6 |
comparison
equal
deleted
inserted
replaced
140:4cd7e45b671e | 141:0b3e9ee53c46 |
---|---|
33 } | 33 } |
34 | 34 |
35 virtual Dialect GetDialect() const = 0; | 35 virtual Dialect GetDialect() const = 0; |
36 | 36 |
37 virtual IDatabase* Open() = 0; | 37 virtual IDatabase* Open() = 0; |
38 | |
39 virtual void GetConnectionRetriesParameters(unsigned int& maxConnectionRetries, unsigned int& connectionRetryInterval) = 0; | |
38 }; | 40 }; |
39 } | 41 } |