Loading...
Searching...
No Matches
connection_count_limiter.hpp File Reference

Stuff related to limits of active parallel connections. More...

`#include <restinio/null_mutex.hpp>`
`#include <restinio/default_strands.hpp>`
`#include <restinio/utils/tagged_scalar.hpp>`
`#include <cstdint>`
`#include <mutex>`
`#include <utility>`

Go to the source code of this file.

## Classes

struct | restinio::connection_count_limits::max_parallel_connections_tag
struct | restinio::connection_count_limits::max_active_accepts_tag
class | restinio::connection_count_limits::impl::acceptor_callback_iface_t
| An interface of acceptor to be used by connection count limiters. More...
class | restinio::connection_count_limits::impl::actual_limiter_t< Mutex_Type >
| Actual implementation of connection count limiter. More...
class | restinio::connection_count_limits::noop_connection_count_limiter_t
| An implementation of connection count limiter for the case when connection count is not limited. More...
class | restinio::connection_count_limits::connection_count_limiter_t< noop_strand_t >
| Implementation of connection count limiter for single-threading mode. More...
class | restinio::connection_count_limits::connection_count_limiter_t< default_strand_t >
| Implementation of connection count limiter for multi-threading mode. More...
class | restinio::connection_count_limits::connection_lifetime_monitor_t< Count_Manager >
| Helper type for controlling the lifetime of the connection. More...
class | restinio::connection_count_limits::connection_lifetime_monitor_t< noop_connection_count_limiter_t >
| Specialization of connection_lifetime_monitor for the case when connection count limiter is not used at all. More...
struct | restinio::connection_count_limit_types< Traits >
| A kind of metafunction that deduces actual types related to connection count limiter in the dependecy of Traits. More...

## Namespaces

namespace | restinio
namespace | restinio::connection_count_limits
namespace | restinio::connection_count_limits::impl

## Typedefs

using | restinio::connection_count_limits::max_parallel_connections_t = restinio::utils::tagged_scalar_t< std::size_t, max_parallel_connections_tag >
| A kind of strict typedef for maximum count of active connections.
using | restinio::connection_count_limits::max_active_accepts_t = restinio::utils::tagged_scalar_t< std::size_t, max_active_accepts_tag >
| A kind of strict typedef for maximum count of active accepts.

## Detailed Description

Stuff related to limits of active parallel connections.

Since
  v.0.6.12

Definition in file connection_count_limiter.hpp.