X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=include%2Fprivate%2Fredis%2Fasynchirediscommanddispatcher.hpp;h=f39d882c12553c8a18220d51cfa43571d8776b99;hb=refs%2Fchanges%2F28%2F1028%2F1;hp=7a466c90f4f7945546c045073a5c067e0a3cf2be;hpb=ef2bf51d04aaf01fa0cabdcaf905b23423067662;p=ric-plt%2Fsdl.git diff --git a/include/private/redis/asynchirediscommanddispatcher.hpp b/include/private/redis/asynchirediscommanddispatcher.hpp index 7a466c9..f39d882 100644 --- a/include/private/redis/asynchirediscommanddispatcher.hpp +++ b/include/private/redis/asynchirediscommanddispatcher.hpp @@ -55,7 +55,8 @@ namespace shareddatalayer uint16_t port, std::shared_ptr contentsBuilder, bool usePermanentCommandCallbacks, - std::shared_ptr logger); + std::shared_ptr logger, + bool usedForSentinel); AsyncHiredisCommandDispatcher(Engine& engine, const std::string& address, @@ -64,7 +65,8 @@ namespace shareddatalayer bool usePermanentCommandCallbacks, HiredisSystem& hiredisSystem, std::shared_ptr adapter, - std::shared_ptr logger); + std::shared_ptr logger, + bool usedForSentinel); ~AsyncHiredisCommandDispatcher() override; @@ -120,6 +122,7 @@ namespace shareddatalayer Timer::Duration connectionRetryTimerDuration; Timer::Duration connectionVerificationRetryTimerDuration; std::shared_ptr logger; + bool usedForSentinel; void connect();