quill
Classes | Public Member Functions | Friends | List of all members
detail::ThreadContext Class Reference

Public Member Functions

 ThreadContext (QueueType queue_type, size_t initial_queue_capacity, QUILL_MAYBE_UNUSED size_t unbounded_queue_max_capacity, HugePagesPolicy huge_pages_policy)
 
 ThreadContext (ThreadContext const &)=delete
 
ThreadContextoperator= (ThreadContext const &)=delete
 
template<QueueType queue_type>
QUILL_NODISCARD QUILL_ATTRIBUTE_HOT std::conditional_t<(queue_type==QueueType::UnboundedBlocking)||(queue_type==QueueType::UnboundedDropping), UnboundedSPSCQueue, BoundedSPSCQueue > & get_spsc_queue () noexcept
 
template<QueueType queue_type>
QUILL_NODISCARD QUILL_ATTRIBUTE_HOT std::conditional_t<(queue_type==QueueType::UnboundedBlocking)||(queue_type==QueueType::UnboundedDropping), UnboundedSPSCQueue, BoundedSPSCQueue > const & get_spsc_queue () const noexcept
 
QUILL_NODISCARD QUILL_ATTRIBUTE_HOT SizeCacheVectorget_conditional_arg_size_cache () noexcept
 
QUILL_NODISCARD QUILL_ATTRIBUTE_HOT bool has_bounded_queue_type () const noexcept
 
QUILL_NODISCARD QUILL_ATTRIBUTE_HOT bool has_unbounded_queue_type () const noexcept
 
QUILL_NODISCARD QUILL_ATTRIBUTE_HOT bool has_dropping_queue () const noexcept
 
QUILL_NODISCARD QUILL_ATTRIBUTE_HOT bool has_blocking_queue () const noexcept
 
QUILL_NODISCARD QUILL_ATTRIBUTE_HOT SpscQueueUnion const & get_spsc_queue_union () const noexcept
 
QUILL_NODISCARD QUILL_ATTRIBUTE_HOT SpscQueueUnion & get_spsc_queue_union () noexcept
 
QUILL_NODISCARD std::string_view thread_id () const noexcept
 
QUILL_NODISCARD std::string_view thread_name () const noexcept
 
void mark_invalid () noexcept
 
QUILL_NODISCARD bool is_valid () const noexcept
 
void increment_failure_counter () noexcept
 
QUILL_NODISCARD QUILL_ATTRIBUTE_HOT size_t get_and_reset_failure_counter () noexcept
 

Friends

class detail::BackendWorker
 

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