GRPC C++  1.39.1
Data Structures | Public Types | Public Member Functions
grpc_core::XdsApi::EdsUpdate::DropConfig Class Reference

#include <xds_api.h>

Data Structures

struct  DropCategory
 

Public Types

using DropCategoryList = absl::InlinedVector< DropCategory, 2 >
 

Public Member Functions

void AddCategory (std::string name, uint32_t parts_per_million)
 
bool ShouldDrop (const std::string **category_name) const
 
const DropCategoryListdrop_category_list () const
 
bool drop_all () const
 
bool operator== (const DropConfig &other) const
 
bool operator!= (const DropConfig &other) const
 
std::string ToString () const
 
- Public Member Functions inherited from grpc_core::RefCounted< DropConfig >
 ~RefCounted ()=default
 
RefCountedPtr< DropConfig > Ref () GRPC_MUST_USE_RESULT
 
RefCountedPtr< DropConfig > Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
RefCountedPtr< DropConfig > RefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< DropConfig > RefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 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< DropConfig >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Member Typedef Documentation

◆ DropCategoryList

Member Function Documentation

◆ AddCategory()

void grpc_core::XdsApi::EdsUpdate::DropConfig::AddCategory ( std::string  name,
uint32_t  parts_per_million 
)
inline

◆ drop_all()

bool grpc_core::XdsApi::EdsUpdate::DropConfig::drop_all ( ) const
inline

◆ drop_category_list()

const DropCategoryList& grpc_core::XdsApi::EdsUpdate::DropConfig::drop_category_list ( ) const
inline

◆ operator!=()

bool grpc_core::XdsApi::EdsUpdate::DropConfig::operator!= ( const DropConfig other) const
inline

◆ operator==()

bool grpc_core::XdsApi::EdsUpdate::DropConfig::operator== ( const DropConfig other) const
inline

◆ ShouldDrop()

bool grpc_core::XdsApi::EdsUpdate::DropConfig::ShouldDrop ( const std::string **  category_name) const

◆ ToString()

std::string grpc_core::XdsApi::EdsUpdate::DropConfig::ToString ( ) const

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