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;
28 engine::impl::ContextAccessor* TryGetContextAccessor()
noexcept;
31 friend class Sentinel;
33 Request(Sentinel& sentinel,
CmdArgs&& args,
const std::string& key,
35 size_t replies_to_skip);
37 Request(Sentinel& sentinel,
CmdArgs&& args, size_t shard,
bool master,
40 CommandPtr PrepareRequest(
CmdArgs&& args,
42 size_t replies_to_skip);
44 engine::Future<ReplyPtr> future_;
45 engine::Deadline deadline_;