userver
C++ Async Framework
Loading...
Searching...
No Matches
redis_state.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/storages/redis/redis_state.hpp
4
/// @brief @copybrief storages::redis::RedisState
5
6
USERVER_NAMESPACE_BEGIN
7
8
namespace
storages::
redis
{
9
10
/// @brief Connection lifecycle state of a Redis client instance
11
enum
class
RedisState
{
12
/// Initializing context and establishing connection
13
kInit
= 0,
14
15
/// Connection initialization failed
16
kInitError
,
17
18
/// Connection established and ready to send commands
19
kConnected
,
20
21
/// Closing connection, all remaining commands are dropped
22
kDisconnecting
,
23
24
/// Connection successfully closed
25
kDisconnected
,
26
27
/// An error occurred while closing connection
28
kDisconnectError
29
};
30
31
}
// namespace storages::redis
32
33
USERVER_NAMESPACE_END
userver
storages
redis
redis_state.hpp
Generated on Thu May 21 2026 16:21:55 for userver by
Doxygen
1.13.2