X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=include%2Fprivate%2Fredis%2Fasynchirediscommanddispatcher.hpp;h=8624b0a25049eed8cbf69250ff643cf269c79acd;hb=2df368cace616e67a6fa5968e23e65a3d5aa0d67;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..8624b0a 100644 --- a/include/private/redis/asynchirediscommanddispatcher.hpp +++ b/include/private/redis/asynchirediscommanddispatcher.hpp @@ -14,6 +14,11 @@ 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, bool usePermanentCommandCallbacks, - std::shared_ptr logger); + std::shared_ptr logger, + bool usedForSentinel); AsyncHiredisCommandDispatcher(Engine& engine, const std::string& address, @@ -64,7 +70,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 +127,7 @@ namespace shareddatalayer Timer::Duration connectionRetryTimerDuration; Timer::Duration connectionVerificationRetryTimerDuration; std::shared_ptr logger; + bool usedForSentinel; void connect();