Boost.Redis: include/boost/redis/usage.hpp Source File

Boost.Redis 1.84.0 A redis client library

Loading...
Searching...
No Matches
usage.hpp
1/* Copyright (c) 2018-2024 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
21 struct 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
boost::redis::usage::response_bytes_received
std::size_t response_bytes_received
Number of response-bytes received.
Definition: usage.hpp:35
boost::redis::usage::push_bytes_received
std::size_t push_bytes_received
Number of push-bytes received.
Definition: usage.hpp:38
boost::redis::usage::pushes_received
std::size_t pushes_received
Number of pushes received.
Definition: usage.hpp:32
boost::redis::usage::responses_received
std::size_t responses_received
Number of responses received.
Definition: usage.hpp:29
boost::redis::usage::commands_sent
std::size_t commands_sent
Number of commands sent.
Definition: usage.hpp:23
boost::redis::usage::bytes_sent
std::size_t bytes_sent
Number of bytes sent.
Definition: usage.hpp:26
boost::redis::usage
Connection usage information.
Definition: usage.hpp:21