Code Review
/
ric-plt
/
sdl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update release parameters according to schema
[ric-plt/sdl.git]
/
include
/
private
/
redis
/
asynchirediscommanddispatcher.hpp
diff --git
a/include/private/redis/asynchirediscommanddispatcher.hpp
b/include/private/redis/asynchirediscommanddispatcher.hpp
index
7a466c9
..
8624b0a
100644
(file)
--- a/
include/private/redis/asynchirediscommanddispatcher.hpp
+++ b/
include/private/redis/asynchirediscommanddispatcher.hpp
@@
-14,6
+14,11
@@
limitations under the License.
*/
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_
#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,
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,
AsyncHiredisCommandDispatcher(Engine& engine,
const std::string& address,
@@
-64,7
+70,8
@@
namespace shareddatalayer
bool usePermanentCommandCallbacks,
HiredisSystem& hiredisSystem,
std::shared_ptr<HiredisEpollAdapter> adapter,
bool usePermanentCommandCallbacks,
HiredisSystem& hiredisSystem,
std::shared_ptr<HiredisEpollAdapter> adapter,
- std::shared_ptr<Logger> logger);
+ std::shared_ptr<Logger> logger,
+ bool usedForSentinel);
~AsyncHiredisCommandDispatcher() override;
~AsyncHiredisCommandDispatcher() override;
@@
-120,6
+127,7
@@
namespace shareddatalayer
Timer::Duration connectionRetryTimerDuration;
Timer::Duration connectionVerificationRetryTimerDuration;
std::shared_ptr<Logger> logger;
Timer::Duration connectionRetryTimerDuration;
Timer::Duration connectionVerificationRetryTimerDuration;
std::shared_ptr<Logger> logger;
+ bool usedForSentinel;
void connect();
void connect();