#include <userver/storages/redis/command_control.hpp>
Opaque Id of Redis server instance / any server instance.
Definition at line 27 of file command_control.hpp.
|
| ServerId ()=default |
| Default: any server.
|
|
bool | IsAny () const |
|
bool | operator== (const ServerId &other) const |
|
bool | operator!= (const ServerId &other) const |
|
bool | operator< (const ServerId &other) const |
|
int64_t | GetId () const |
|
void | SetDescription (std::string description) const |
|
void | RemoveDescription () const |
|
std::string | GetDescription () const |
|
◆ Generate()
static ServerId redis::ServerId::Generate |
( |
| ) |
|
|
inlinestatic |
◆ GetId()
int64_t redis::ServerId::GetId |
( |
| ) |
const |
|
inline |
◆ Invalid()
static ServerId redis::ServerId::Invalid |
( |
| ) |
|
|
inlinestatic |
◆ IsAny()
bool redis::ServerId::IsAny |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool redis::ServerId::operator!= |
( |
const ServerId & | other | ) |
const |
|
inline |
◆ operator<()
bool redis::ServerId::operator< |
( |
const ServerId & | other | ) |
const |
|
inline |
◆ operator==()
bool redis::ServerId::operator== |
( |
const ServerId & | other | ) |
const |
|
inline |
The documentation for this class was generated from the following file: