#include <userver/utils/hedged_request.hpp>
Future of hedged request.
Definition at line 305 of file hedged_request.hpp.
Public Types | |
using | RequestType = typename RequestTraits<RequestStrategy>::RequestType |
using | ReplyType = typename RequestTraits<RequestStrategy>::ReplyType |
Public Member Functions | |
HedgedRequestFuture (HedgedRequestFuture &&) noexcept=default | |
void | Wait () |
std::optional< ReplyType > | Get () |
void | IgnoreResult () |
engine::impl::ContextAccessor * | TryGetContextAccessor () |
using utils::hedging::HedgedRequestFuture< RequestStrategy >::ReplyType = typename RequestTraits<RequestStrategy>::ReplyType |
Definition at line 307 of file hedged_request.hpp.
using utils::hedging::HedgedRequestFuture< RequestStrategy >::RequestType = typename RequestTraits<RequestStrategy>::RequestType |
Definition at line 306 of file hedged_request.hpp.
|
inline |
Definition at line 310 of file hedged_request.hpp.
|
inline |
Definition at line 313 of file hedged_request.hpp.
|
inline |
Definition at line 314 of file hedged_request.hpp.
|
inline |
Definition at line 315 of file hedged_request.hpp.
|
inline |
Definition at line 312 of file hedged_request.hpp.