Boost.Redis 1.4.2
A redis client library
Loading...
Searching...
No Matches
usage.hpp
1/* Copyright (c) 2018-2023 Marcelo Zimbres Silva (mzimbres@gmail.com)
2 *
3 * Distributed under the Boost Software License, Version 1.0. (See
4 * accompanying file LICENSE.txt)
5 */
6
7#ifndef BOOST_REDIS_USAGE_HPP
8#define BOOST_REDIS_USAGE_HPP
9
10namespace boost::redis
11{
12
21struct usage {
23 std::size_t commands_sent = 0;
24
26 std::size_t bytes_sent = 0;
27
29 std::size_t responses_received = 0;
30
32 std::size_t pushes_received = 0;
33
35 std::size_t response_bytes_received = 0;
36
38 std::size_t push_bytes_received = 0;
39};
40
41} // boost::redis
42
43#endif // BOOST_REDIS_USAGE_HPP
std::size_t response_bytes_received
Number of response-bytes received.
Definition: usage.hpp:35
std::size_t push_bytes_received
Number of push-bytes received.
Definition: usage.hpp:38
std::size_t pushes_received
Number of pushes received.
Definition: usage.hpp:32
std::size_t responses_received
Number of responses received.
Definition: usage.hpp:29
std::size_t commands_sent
Number of commands sent.
Definition: usage.hpp:23
std::size_t bytes_sent
Number of bytes sent.
Definition: usage.hpp:26
Connection usage information.
Definition: usage.hpp:21