comparison PostgreSQL/Plugins/PostgreSQLStorageArea.h @ 219:dd6cfc250747

removed useless class StorageAreaBuffer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 29 Mar 2021 14:52:55 +0200
parents 3236894320d6
children a4918d57435c
comparison
equal deleted inserted replaced
218:90eb271f85b2 219:dd6cfc250747
38 explicit Factory(PostgreSQLStorageArea& that) : 38 explicit Factory(PostgreSQLStorageArea& that) :
39 that_(that) 39 that_(that)
40 { 40 {
41 } 41 }
42 42
43 virtual Dialect GetDialect() const 43 virtual Dialect GetDialect() const ORTHANC_OVERRIDE
44 { 44 {
45 return Dialect_PostgreSQL; 45 return Dialect_PostgreSQL;
46 } 46 }
47 47
48 virtual IDatabase* Open() 48 virtual IDatabase* Open() ORTHANC_OVERRIDE
49 { 49 {
50 return that_.OpenInternal(); 50 return that_.OpenInternal();
51 } 51 }
52 52
53 virtual void GetConnectionRetriesParameters(unsigned int& maxConnectionRetries, unsigned int& connectionRetryInterval) 53 virtual void GetConnectionRetriesParameters(unsigned int& maxConnectionRetries,
54 unsigned int& connectionRetryInterval) ORTHANC_OVERRIDE
54 { 55 {
55 maxConnectionRetries = that_.parameters_.GetMaxConnectionRetries(); 56 maxConnectionRetries = that_.parameters_.GetMaxConnectionRetries();
56 connectionRetryInterval = that_.parameters_.GetConnectionRetryInterval(); 57 connectionRetryInterval = that_.parameters_.GetConnectionRetryInterval();
57 } 58 }
58 }; 59 };