userver: storages::redis::HealthCheckParams Struct Reference
Loading...
Searching...
No Matches
storages::redis::HealthCheckParams Struct Reference

#include <userver/storages/redis/health_check_param.hpp>

Detailed Description

Parameters for checking Redis cluster health.

Definition at line 13 of file health_check_param.hpp.

Public Attributes

storages::redis::WaitConnectedMode mode = storages::redis::WaitConnectedMode::kNoWait
 Wait mode for checking Redis cluster health.
uint32_t max_failed_shards {0}
uint32_t max_failed_shards_percent {0}

Member Data Documentation

◆ max_failed_shards

uint32_t storages::redis::HealthCheckParams::max_failed_shards {0}

Maximum number of failed shards allowed. 0 means all shards must be ready.

Definition at line 18 of file health_check_param.hpp.

◆ max_failed_shards_percent

uint32_t storages::redis::HealthCheckParams::max_failed_shards_percent {0}

Maximum percent of failed shards allowed. 0 means all shards must be ready.

Definition at line 21 of file health_check_param.hpp.

◆ mode

Wait mode for checking Redis cluster health.

Definition at line 15 of file health_check_param.hpp.


The documentation for this struct was generated from the following file: