Rename ci Docker file
[ric-plt/sdl.git] / include / private / redis / asynchirediscommanddispatcher.hpp
index 7a466c9..8624b0a 100644 (file)
    limitations under the License.
 */
 
+/*
+ * This source code is part of the near-RT RIC (RAN Intelligent Controller)
+ * platform project (RICP).
+*/
+
 #ifndef SHAREDDATALAYER_REDIS_ASYNCHIREDISCOMMANDDISPATCHER_HPP_
 #define SHAREDDATALAYER_REDIS_ASYNCHIREDISCOMMANDDISPATCHER_HPP_
 
@@ -55,7 +60,8 @@ namespace shareddatalayer
                                           uint16_t port,
                                           std::shared_ptr<ContentsBuilder> contentsBuilder,
                                           bool usePermanentCommandCallbacks,
-                                          std::shared_ptr<Logger> logger);
+                                          std::shared_ptr<Logger> logger,
+                                          bool usedForSentinel);
 
             AsyncHiredisCommandDispatcher(Engine& engine,
                                           const std::string& address,
@@ -64,7 +70,8 @@ namespace shareddatalayer
                                           bool usePermanentCommandCallbacks,
                                           HiredisSystem& hiredisSystem,
                                           std::shared_ptr<HiredisEpollAdapter> adapter,
-                                          std::shared_ptr<Logger> logger);
+                                          std::shared_ptr<Logger> logger,
+                                          bool usedForSentinel);
 
             ~AsyncHiredisCommandDispatcher() override;
 
@@ -120,6 +127,7 @@ namespace shareddatalayer
             Timer::Duration connectionRetryTimerDuration;
             Timer::Duration connectionVerificationRetryTimerDuration;
             std::shared_ptr<Logger> logger;
+            bool usedForSentinel;
 
             void connect();