X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=include%2Fprivate%2Fdatabaseconfigurationimpl.hpp;h=64b3c2198ccfb83a1fd8ad5b0a5dcb093d431571;hb=refs%2Fchanges%2F13%2F1513%2F2;hp=6349ea3857ee20847958ee99a14354de2fbbda9b;hpb=ef2bf51d04aaf01fa0cabdcaf905b23423067662;p=ric-plt%2Fsdl.git diff --git a/include/private/databaseconfigurationimpl.hpp b/include/private/databaseconfigurationimpl.hpp index 6349ea3..64b3c21 100644 --- a/include/private/databaseconfigurationimpl.hpp +++ b/include/private/databaseconfigurationimpl.hpp @@ -32,17 +32,27 @@ namespace shareddatalayer void checkAndApplyServerAddress(const std::string& address) override; + void checkAndApplySentinelAddress(const std::string& address) override; + + void checkAndApplySentinelMasterName(const std::string& name) override; + DatabaseConfiguration::DbType getDbType() const override; DatabaseConfigurationImpl::Addresses getServerAddresses() const override; DatabaseConfiguration::Addresses getDefaultServerAddresses() const override; + boost::optional getSentinelAddress() const override; + + std::string getSentinelMasterName() const override; + bool isEmpty() const override; private: DbType dbType; Addresses serverAddresses; + boost::optional sentinelAddress; + std::string sentinelMasterName; }; }