GRPC Core  9.0.0
Data Structures | Public Types | Public Member Functions
grpc_core::XdsDropConfig Class Reference

#include <xds_api.h>

Data Structures

struct  DropCategory
 

Public Types

using DropCategoryList = InlinedVector< DropCategory, 2 >
 

Public Member Functions

void AddCategory (grpc_core::UniquePtr< char > name, uint32_t parts_per_million)
 
bool ShouldDrop (const grpc_core::UniquePtr< char > **category_name) const
 
const DropCategoryListdrop_category_list () const
 
bool operator== (const XdsDropConfig &other) const
 
bool operator!= (const XdsDropConfig &other) const
 
- Public Member Functions inherited from grpc_core::RefCounted< XdsDropConfig >
 ~RefCounted ()=default
 
RefCountedPtr< XdsDropConfigRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< XdsDropConfigRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
bool RefIfNonZero ()
 
bool RefIfNonZero (const DebugLocation &location, const char *reason)
 
 RefCounted (const RefCounted &)=delete
 
RefCountedoperator= (const RefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_core::RefCounted< XdsDropConfig >
 RefCounted (TraceFlagT *trace_flag=nullptr, intptr_t initial_refcount=1)
 

Member Typedef Documentation

◆ DropCategoryList

Member Function Documentation

◆ AddCategory()

void grpc_core::XdsDropConfig::AddCategory ( grpc_core::UniquePtr< char >  name,
uint32_t  parts_per_million 
)
inline

◆ drop_category_list()

const DropCategoryList& grpc_core::XdsDropConfig::drop_category_list ( ) const
inline

◆ operator!=()

bool grpc_core::XdsDropConfig::operator!= ( const XdsDropConfig other) const
inline

◆ operator==()

bool grpc_core::XdsDropConfig::operator== ( const XdsDropConfig other) const
inline

◆ ShouldDrop()

bool grpc_core::XdsDropConfig::ShouldDrop ( const grpc_core::UniquePtr< char > **  category_name) const

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