Public Member Functions | Private Attributes | List of all members
grpc::CompletionQueue::CompletionQueueTLSCache Class Reference

Public Member Functions

 CompletionQueueTLSCache (CompletionQueue *cq)
 
bool Flush (void **tag, bool *ok)
 
 ~CompletionQueueTLSCache ()
 

Private Attributes

CompletionQueuecq_
 
bool flushed_
 

Detailed Description

EXPERIMENTAL Creates a Thread Local cache to store the first event On this completion queue queued from this thread. Once initialized, it must be flushed on the same thread.

Definition at line 309 of file include/grpcpp/impl/codegen/completion_queue.h.

Constructor & Destructor Documentation

◆ CompletionQueueTLSCache()

grpc::CompletionQueue::CompletionQueueTLSCache::CompletionQueueTLSCache ( CompletionQueue cq)
explicit

Definition at line 170 of file completion_queue_cc.cc.

◆ ~CompletionQueueTLSCache()

grpc::CompletionQueue::CompletionQueueTLSCache::~CompletionQueueTLSCache ( )

Definition at line 176 of file completion_queue_cc.cc.

Member Function Documentation

◆ Flush()

bool grpc::CompletionQueue::CompletionQueueTLSCache::Flush ( void **  tag,
bool ok 
)

Definition at line 180 of file completion_queue_cc.cc.

Member Data Documentation

◆ cq_

CompletionQueue* grpc::CompletionQueue::CompletionQueueTLSCache::cq_
private

◆ flushed_

bool grpc::CompletionQueue::CompletionQueueTLSCache::flushed_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:30