GRPC C++  1.26.0
Data Structures | Public Member Functions | Static Public Member Functions
grpc_core::InternedMetadata Class Reference

#include <metadata.h>

Data Structures

struct  BucketLink
 
struct  NoRefKey
 

Public Member Functions

 InternedMetadata (const grpc_slice &key, const grpc_slice &value, uint32_t hash, InternedMetadata *next)
 
 InternedMetadata (const grpc_slice &key, const grpc_slice &value, uint32_t hash, InternedMetadata *next, const NoRefKey *)
 
 ~InternedMetadata ()
 
void RefWithShardLocked (mdtab_shard *shard)
 
UserDatauser_data ()
 
InternedMetadatabucket_next ()
 
void set_bucket_next (InternedMetadata *md)
 
- Public Member Functions inherited from grpc_core::RefcountedMdBase
 RefcountedMdBase (const grpc_slice &key, const grpc_slice &value)
 
 RefcountedMdBase (const grpc_slice &key, const grpc_slice &value, uint32_t hash)
 
const grpc_slicekey () const
 
const grpc_slicevalue () const
 
uint32_t hash ()
 
void Ref (const char *file, int line)
 
bool Unref (const char *file, int line)
 
void Ref ()
 
bool Unref ()
 

Static Public Member Functions

static size_t CleanupLinkedMetadata (BucketLink *head)
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_core::RefcountedMdBase
void TraceAtStart (const char *tag)
 
intptr_t RefValue ()
 
bool AllRefsDropped ()
 
bool FirstRef ()
 

Constructor & Destructor Documentation

◆ InternedMetadata() [1/2]

grpc_core::InternedMetadata::InternedMetadata ( const grpc_slice key,
const grpc_slice value,
uint32_t  hash,
InternedMetadata next 
)

◆ InternedMetadata() [2/2]

grpc_core::InternedMetadata::InternedMetadata ( const grpc_slice key,
const grpc_slice value,
uint32_t  hash,
InternedMetadata next,
const NoRefKey  
)

◆ ~InternedMetadata()

grpc_core::InternedMetadata::~InternedMetadata ( )

Member Function Documentation

◆ bucket_next()

InternedMetadata* grpc_core::InternedMetadata::bucket_next ( )
inline

◆ CleanupLinkedMetadata()

static size_t grpc_core::InternedMetadata::CleanupLinkedMetadata ( BucketLink head)
static

◆ RefWithShardLocked()

void grpc_core::InternedMetadata::RefWithShardLocked ( mdtab_shard *  shard)

◆ set_bucket_next()

void grpc_core::InternedMetadata::set_bucket_next ( InternedMetadata md)
inline

◆ user_data()

UserData* grpc_core::InternedMetadata::user_data ( )
inline

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