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_
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,
bool usePermanentCommandCallbacks,
HiredisSystem& hiredisSystem,
std::shared_ptr<HiredisEpollAdapter> adapter,
- std::shared_ptr<Logger> logger);
+ std::shared_ptr<Logger> logger,
+ bool usedForSentinel);
~AsyncHiredisCommandDispatcher() override;
Timer::Duration connectionRetryTimerDuration;
Timer::Duration connectionVerificationRetryTimerDuration;
std::shared_ptr<Logger> logger;
+ bool usedForSentinel;
void connect();