#include <userver/storages/redis/command_control.hpp>
Opaque Id of Redis server instance / any server instance.
Definition at line 28 of file command_control.hpp.
Public Member Functions | |
| constexpr | ServerId ()=default |
| Default: any server. | |
| bool | IsAny () const |
| auto | operator<=> (const ServerId &) const =default |
| int64_t | GetId () const |
| void | SetDescription (std::string description) const |
| void | RemoveDescription () const |
| std::string | GetDescription () const |
Static Public Member Functions | |
| static ServerId | Generate () |
| static ServerId | Invalid () |
|
inlinestatic |
Definition at line 37 of file command_control.hpp.
|
inline |
Definition at line 45 of file command_control.hpp.
|
inlinestatic |
Definition at line 43 of file command_control.hpp.
|
inline |
Definition at line 33 of file command_control.hpp.