userver: storages::redis::ExpireReply Class Reference
Loading...
Searching...
No Matches
storages::redis::ExpireReply Class Referencefinal

Detailed Description

Definition at line 12 of file expire_reply.hpp.

Public Types

enum class  ExpireReplyValue {
  kKeyDoesNotExist ,
  kTimeoutWasSet
}
 

Public Member Functions

 ExpireReply (int64_t value)
 
 ExpireReply (ExpireReplyValue value)
 
 operator ExpireReplyValue () const
 

Static Public Member Functions

static ExpireReply Parse (ReplyData &&reply_data, const std::string &request_description={})
 

Static Public Attributes

static constexpr ExpireReplyValue kKeyDoesNotExist = ExpireReplyValue::kKeyDoesNotExist
 
static constexpr ExpireReplyValue kTimeoutWasSet = ExpireReplyValue::kTimeoutWasSet
 

Member Enumeration Documentation

◆ ExpireReplyValue

enum class storages::redis::ExpireReply::ExpireReplyValue
strong

Definition at line 14 of file expire_reply.hpp.

Member Data Documentation

◆ kKeyDoesNotExist

constexpr ExpireReplyValue storages::redis::ExpireReply::kKeyDoesNotExist = ExpireReplyValue::kKeyDoesNotExist
staticconstexpr

Definition at line 16 of file expire_reply.hpp.

◆ kTimeoutWasSet

constexpr ExpireReplyValue storages::redis::ExpireReply::kTimeoutWasSet = ExpireReplyValue::kTimeoutWasSet
staticconstexpr

Definition at line 17 of file expire_reply.hpp.


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