Seastar
High performance C++ framework for concurrent servers
Classes | Public Member Functions | List of all members
seastar::fair_group Class Reference

Detailed Description

Group of queues class.

This is a fair group. It's attached by one or mode fair queues. On machines having the big* amount of shards, queues use the group to borrow/lend the needed capacity for requests dispatching.

#include <seastar/core/fair_queue.hh>

Classes

struct  config
 

Public Member Functions

 fair_group (config cfg) noexcept
 
fair_queue_ticket maximum_capacity () const noexcept
 
fair_group_rover grab_capacity (fair_queue_ticket cap) noexcept
 
void release_capacity (fair_queue_ticket cap) noexcept
 
fair_group_rover head () const noexcept
 

The documentation for this class was generated from the following file: