userver: storages::redis::Reply Class Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
storages::redis::Reply Class Referencefinal

Your opinion will help to improve our service

Leave a feedback >

Detailed Description

Definition at line 184 of file reply.hpp.

Public Member Functions

 Reply (std::string command, ReplyData &&reply_data, ReplyStatus reply_status=ReplyStatus::kOk)
 
 operator bool () const
 
std::string_view GetStatusString () const
 
bool IsOk () const
 
bool IsLoggableError () const
 
bool IsUnusableInstanceError () const
 
bool IsReadonlyError () const
 
bool IsUnknownCommandError () const
 
const logging::LogExtraGetLogExtra () const
 
void FillSpanTags (tracing::Span &span) const
 
void ExpectIsOk (const std::string &request_description={}) const
 
const std::string & GetRequestDescription (const std::string &request_description) const
 

Public Attributes

std::string server
 
ServerId server_id
 
const std::string cmd
 
ReplyData data
 
const ReplyStatus status
 
double time = 0.0
 
logging::LogExtra log_extra
 

Member Function Documentation

◆ GetStatusString()

std::string_view storages::redis::Reply::GetStatusString ( ) const
inline

Definition at line 198 of file reply.hpp.

◆ operator bool()

storages::redis::Reply::operator bool ( ) const
inline

Definition at line 196 of file reply.hpp.

Member Data Documentation

◆ cmd

const std::string storages::redis::Reply::cmd

Definition at line 190 of file reply.hpp.

◆ data

ReplyData storages::redis::Reply::data

Definition at line 191 of file reply.hpp.

◆ log_extra

logging::LogExtra storages::redis::Reply::log_extra

Definition at line 194 of file reply.hpp.

◆ server

std::string storages::redis::Reply::server

Definition at line 188 of file reply.hpp.

◆ server_id

ServerId storages::redis::Reply::server_id

Definition at line 189 of file reply.hpp.

◆ status

const ReplyStatus storages::redis::Reply::status

Definition at line 192 of file reply.hpp.

◆ time

double storages::redis::Reply::time = 0.0

Definition at line 193 of file reply.hpp.


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