RDMA++
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rdmapp::cq_poller Class Reference

This class is used to poll a completion queue. More...

#include <rdmapp/cq_poller.h>

Public Member Functions

 cq_poller (std::shared_ptr< cq > cq, size_t batch_size=16)
 Construct a new cq poller object. A new executor will be created.
 
 cq_poller (std::shared_ptr< cq > cq, std::shared_ptr< executor > executor, size_t batch_size=16)
 Construct a new cq poller object.
 

Detailed Description

This class is used to poll a completion queue.

Constructor & Destructor Documentation

◆ cq_poller() [1/2]

rdmapp::cq_poller::cq_poller ( std::shared_ptr< cq cq,
size_t  batch_size = 16 
)

Construct a new cq poller object. A new executor will be created.

Parameters
cqThe completion queue to poll.
batch_sizeThe number of completion entries to poll at a time.

◆ cq_poller() [2/2]

rdmapp::cq_poller::cq_poller ( std::shared_ptr< cq cq,
std::shared_ptr< executor executor,
size_t  batch_size = 16 
)

Construct a new cq poller object.

Parameters
cqThe completion queue to poll.
executorThe executor to use to process the completion entries.
batch_sizeThe number of completion entries to poll at a time.

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