userver: concurrent::GenericQueue< T, QueuePolicy >::NoMaxSizeProducerSide Class Reference
Loading...
Searching...
No Matches
concurrent::GenericQueue< T, QueuePolicy >::NoMaxSizeProducerSide Class Referencefinal

Detailed Description

template<typename T, typename QueuePolicy>
class concurrent::GenericQueue< T, QueuePolicy >::NoMaxSizeProducerSide

Definition at line 522 of file queue.hpp.

Public Member Functions

 NoMaxSizeProducerSide (GenericQueue &queue, std::size_t max_size)
 
template<typename Token >
bool Push (Token &token, T &&value, engine::Deadline, std::size_t)
 
template<typename Token >
bool PushNoblock (Token &token, T &&value, std::size_t value_size)
 
void OnElementPopped (std::size_t)
 
void StopBlockingOnPush ()
 
void ResumeBlockingOnPush ()
 
void SetSoftMaxSize (std::size_t new_capacity)
 
std::size_t GetSoftMaxSize () const noexcept
 
std::size_t GetSizeApproximate () const noexcept
 

Constructor & Destructor Documentation

◆ NoMaxSizeProducerSide()

template<typename T , typename QueuePolicy >
concurrent::GenericQueue< T, QueuePolicy >::NoMaxSizeProducerSide::NoMaxSizeProducerSide ( GenericQueue & queue,
std::size_t max_size )
inline

Definition at line 524 of file queue.hpp.

Member Function Documentation

◆ GetSizeApproximate()

template<typename T , typename QueuePolicy >
std::size_t concurrent::GenericQueue< T, QueuePolicy >::NoMaxSizeProducerSide::GetSizeApproximate ( ) const
inlinenoexcept

Definition at line 553 of file queue.hpp.

◆ GetSoftMaxSize()

template<typename T , typename QueuePolicy >
std::size_t concurrent::GenericQueue< T, QueuePolicy >::NoMaxSizeProducerSide::GetSoftMaxSize ( ) const
inlinenoexcept

Definition at line 551 of file queue.hpp.

◆ OnElementPopped()

template<typename T , typename QueuePolicy >
void concurrent::GenericQueue< T, QueuePolicy >::NoMaxSizeProducerSide::OnElementPopped ( std::size_t )
inline

Definition at line 541 of file queue.hpp.

◆ Push()

template<typename T , typename QueuePolicy >
template<typename Token >
bool concurrent::GenericQueue< T, QueuePolicy >::NoMaxSizeProducerSide::Push ( Token & token,
T && value,
engine::Deadline ,
std::size_t  )
inline

Definition at line 527 of file queue.hpp.

◆ PushNoblock()

template<typename T , typename QueuePolicy >
template<typename Token >
bool concurrent::GenericQueue< T, QueuePolicy >::NoMaxSizeProducerSide::PushNoblock ( Token & token,
T && value,
std::size_t value_size )
inline

Definition at line 537 of file queue.hpp.

◆ ResumeBlockingOnPush()

template<typename T , typename QueuePolicy >
void concurrent::GenericQueue< T, QueuePolicy >::NoMaxSizeProducerSide::ResumeBlockingOnPush ( )
inline

Definition at line 545 of file queue.hpp.

◆ SetSoftMaxSize()

template<typename T , typename QueuePolicy >
void concurrent::GenericQueue< T, QueuePolicy >::NoMaxSizeProducerSide::SetSoftMaxSize ( std::size_t new_capacity)
inline

Definition at line 547 of file queue.hpp.

◆ StopBlockingOnPush()

template<typename T , typename QueuePolicy >
void concurrent::GenericQueue< T, QueuePolicy >::NoMaxSizeProducerSide::StopBlockingOnPush ( )
inline

Definition at line 543 of file queue.hpp.


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