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

Redis command execution options. More...

#include <atomic>
#include <chrono>
#include <cstdint>
#include <optional>
#include <string>
#include <userver/storages/redis/impl/types.hpp>
+ Include dependency graph for command_control.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  redis::ServerId
 Opaque Id of Redis server instance / any server instance. More...
 
struct  redis::ServerIdHasher
 
struct  redis::RetryNilFromMaster
 
struct  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.
 

Functions

CommandControl::Strategy redis::StrategyFromString (std::string_view s)
 Returns CommandControl::Strategy from string.
 

Variables

constexpr RetryNilFromMaster redis::kRetryNilFromMaster {}
 

Detailed Description

Redis command execution options.

Definition in file command_control.hpp.

Variable Documentation

◆ kRetryNilFromMaster

constexpr RetryNilFromMaster redis::kRetryNilFromMaster {}
inlineconstexpr

Can be used as an additional parameter in some commands to force retries to master if slave returned a nil reply.

Definition at line 70 of file command_control.hpp.