5#include <userver/engine/deadline.hpp>
6#include <userver/engine/future.hpp>
8#include <userver/storages/redis/impl/base.hpp>
9#include <userver/storages/redis/impl/types.hpp>
11USERVER_NAMESPACE_BEGIN
21 Request(
const Request&) =
delete;
22 Request(
Request&& r)
noexcept =
default;
29 friend class Sentinel;
31 Request(Sentinel& sentinel,
CmdArgs&& args,
const std::string& key,
33 size_t replies_to_skip);
35 Request(Sentinel& sentinel,
CmdArgs&& args, size_t shard,
bool master,
38 CommandPtr PrepareRequest(
CmdArgs&& args,
40 size_t replies_to_skip);
42 engine::Future<ReplyPtr> future_;
43 engine::Deadline deadline_;