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

#include <xds_client_stats.h>

Data Structures

struct  Less
 

Public Member Functions

 XdsLocalityName (grpc_core::UniquePtr< char > region, grpc_core::UniquePtr< char > zone, grpc_core::UniquePtr< char > subzone)
 
bool operator== (const XdsLocalityName &other) const
 
const char * region () const
 
const char * zone () const
 
const char * sub_zone () const
 
const char * AsHumanReadableString ()
 
- Public Member Functions inherited from grpc_core::RefCounted< XdsLocalityName >
 ~RefCounted ()=default
 
RefCountedPtr< XdsLocalityNameRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< XdsLocalityNameRef (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< XdsLocalityName >
 RefCounted (TraceFlagT *trace_flag=nullptr, intptr_t initial_refcount=1)
 

Constructor & Destructor Documentation

◆ XdsLocalityName()

grpc_core::XdsLocalityName::XdsLocalityName ( grpc_core::UniquePtr< char >  region,
grpc_core::UniquePtr< char >  zone,
grpc_core::UniquePtr< char >  subzone 
)
inline

Member Function Documentation

◆ AsHumanReadableString()

const char* grpc_core::XdsLocalityName::AsHumanReadableString ( )
inline

◆ operator==()

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

◆ region()

const char* grpc_core::XdsLocalityName::region ( ) const
inline

◆ sub_zone()

const char* grpc_core::XdsLocalityName::sub_zone ( ) const
inline

◆ zone()

const char* grpc_core::XdsLocalityName::zone ( ) const
inline

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