userver
C++ Async Framework
Loading...
Searching...
No Matches
redis_state.hpp
1
#
pragma
once
2
3
USERVER_NAMESPACE_BEGIN
4
5
namespace
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 redis
29
30
USERVER_NAMESPACE_END
userver
storages
redis
impl
redis_state.hpp
Generated on Wed May 15 2024 22:31:09 for userver by
Doxygen
1.10.0