Multiple DBAAS Redis standalone groups
[ric-plt/sdl.git] / include / private / databaseconfigurationimpl.hpp
index 64b3c21..955b292 100644 (file)
    limitations under the License.
 */
 
+/*
+ * This source code is part of the near-RT RIC (RAN Intelligent Controller)
+ * platform project (RICP).
+*/
+
 #ifndef SHAREDDATALAYER_DATABASECONFIGURATIONIMPL_HPP_
 #define SHAREDDATALAYER_DATABASECONFIGURATIONIMPL_HPP_
 
@@ -40,10 +45,14 @@ namespace shareddatalayer
 
         DatabaseConfigurationImpl::Addresses getServerAddresses() const override;
 
+        DatabaseConfigurationImpl::Addresses getServerAddresses(const boost::optional<std::size_t>& addressIndex) const override;
+
         DatabaseConfiguration::Addresses getDefaultServerAddresses() const override;
 
         boost::optional<HostAndPort> getSentinelAddress() const override;
 
+        boost::optional<HostAndPort> getSentinelAddress(const boost::optional<std::size_t>& addressIndex) const override;
+
         std::string getSentinelMasterName() const override;
 
         bool isEmpty() const override;