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