#include <userver/utils/hedged_request.hpp>
Future of hedged request.
Definition at line 335 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 337 of file hedged_request.hpp.
using utils::hedging::HedgedRequestFuture< RequestStrategy >::RequestType = typename RequestTraits<RequestStrategy>::RequestType |
Definition at line 336 of file hedged_request.hpp.
|
inline |
Definition at line 340 of file hedged_request.hpp.
|
inline |
Definition at line 343 of file hedged_request.hpp.
|
inline |
Definition at line 344 of file hedged_request.hpp.
|
inline |
Definition at line 345 of file hedged_request.hpp.
|
inline |
Definition at line 342 of file hedged_request.hpp.