userver: storages::redis::RequestGeneric< ReplyType > Class Template Reference
Loading...
Searching...
No Matches
storages::redis::RequestGeneric< ReplyType > Class Template Referencefinal

#include <userver/storages/redis/request_generic.hpp>

Detailed Description

template<typename ReplyType>
class storages::redis::RequestGeneric< ReplyType >

Redis future for generic command responses. Can be used to request custom modules commands or unsupported yet commands.

Definition at line 17 of file request_generic.hpp.

Public Member Functions

 RequestGeneric (RequestGenericCommon &&request)
 
void Wait ()
 
void IgnoreResult () const
 
ReplyType Get (const std::string &request_description={})
 

Constructor & Destructor Documentation

◆ RequestGeneric()

template<typename ReplyType>
storages::redis::RequestGeneric< ReplyType >::RequestGeneric ( RequestGenericCommon && request)
inlineexplicit

Definition at line 19 of file request_generic.hpp.

Member Function Documentation

◆ Get()

template<typename ReplyType>
ReplyType storages::redis::RequestGeneric< ReplyType >::Get ( const std::string & request_description = {})
inline

Definition at line 25 of file request_generic.hpp.

◆ IgnoreResult()

template<typename ReplyType>
void storages::redis::RequestGeneric< ReplyType >::IgnoreResult ( ) const
inline

Definition at line 23 of file request_generic.hpp.

◆ Wait()

template<typename ReplyType>
void storages::redis::RequestGeneric< ReplyType >::Wait ( )
inline

Definition at line 21 of file request_generic.hpp.


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