userver: userver/storages/redis/command_control.hpp File Reference
Loading...
Searching...
No Matches
command_control.hpp File Reference

Detailed Description

Definition in file command_control.hpp.

Go to the source code of this file.

#include <atomic>
#include <chrono>
#include <cstdint>
#include <optional>
#include <string>
#include <userver/storages/redis/fwd.hpp>
+ This graph shows which files directly or indirectly include this file:

Classes

class  storages::redis::ServerId
 Opaque Id of Redis server instance / any server instance. More...
 
struct  storages::redis::ServerIdHasher
 
struct  storages::redis::RetryNilFromMaster
 
struct  storages::redis::CommandControl
 Redis command execution options. More...
 

Namespaces

namespace  testsuite
 Testsuite integration.
 
namespace  storages
 Components, clients and helpers for different databases and storages.
 
namespace  storages::redis
 Redis client and helpers.
 

Functions

CommandControl::Strategy storages::redis::StrategyFromString (std::string_view s)
 Returns CommandControl::Strategy from string.
 
std::string_view storages::redis::StrategyToString (CommandControl::Strategy s)
 Returns string representation of CommandControl::Strategy.
 

Variables

constexpr std::chrono::milliseconds storages::redis::kDefaultTimeoutSingle {500}
 
constexpr std::chrono::milliseconds storages::redis::kDefaultTimeoutAll {2000}
 
constexpr std::size_t storages::redis::kDefaultMaxRetries {4}
 
constexpr RetryNilFromMaster storages::redis::kRetryNilFromMaster {}