userver: utils::hedging::HedgedRequestBulkFuture< RequestStrategy > Struct Template Reference
Loading...
Searching...
No Matches
utils::hedging::HedgedRequestBulkFuture< RequestStrategy > Struct Template Reference

#include <userver/utils/hedged_request.hpp>

Detailed Description

template<typename RequestStrategy>
struct utils::hedging::HedgedRequestBulkFuture< RequestStrategy >

Future of hedged bulk request.

Definition at line 284 of file hedged_request.hpp.

Public Types

using RequestType = typename RequestTraits<RequestStrategy>::RequestType
 
using ReplyType = typename RequestTraits<RequestStrategy>::ReplyType
 

Public Member Functions

 HedgedRequestBulkFuture (HedgedRequestBulkFuture &&) noexcept=default
 
void Wait ()
 
std::vector< std::optional< ReplyType > > Get ()
 
engine::impl::ContextAccessor * TryGetContextAccessor ()
 

Member Typedef Documentation

◆ ReplyType

◆ RequestType

Constructor & Destructor Documentation

◆ ~HedgedRequestBulkFuture()

Member Function Documentation

◆ Get()

std::vector< std::optional< ReplyType > > utils::hedging::HedgedRequestBulkFuture< RequestStrategy >::Get ( )
inline

Definition at line 292 of file hedged_request.hpp.

◆ TryGetContextAccessor()

engine::impl::ContextAccessor * utils::hedging::HedgedRequestBulkFuture< RequestStrategy >::TryGetContextAccessor ( )
inline

Definition at line 293 of file hedged_request.hpp.

◆ Wait()


The documentation for this struct was generated from the following file: