#include <userver/storages/redis/reply.hpp>
Redis command reply with metadata (server, status, timing)
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::LogExtra & | GetLogExtra () 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 |
|
inline |
| logging::LogExtra storages::redis::Reply::log_extra |
| const ReplyStatus storages::redis::Reply::status |