GRPC Core  18.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 (std::string region, std::string zone, std::string sub_zone)
 
bool operator== (const XdsLocalityName &other) const
 
bool operator!= (const XdsLocalityName &other) const
 
int Compare (const XdsLocalityName &other) const
 
const std::string & region () const
 
const std::string & zone () const
 
const std::string & sub_zone () const
 
const std::string & 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)
 
RefCountedPtr< XdsLocalityNameRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< XdsLocalityNameRefIfNonZero (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< XdsLocalityName >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Constructor & Destructor Documentation

◆ XdsLocalityName()

grpc_core::XdsLocalityName::XdsLocalityName ( std::string  region,
std::string  zone,
std::string  sub_zone 
)
inline

Member Function Documentation

◆ AsHumanReadableString()

const std::string& grpc_core::XdsLocalityName::AsHumanReadableString ( )
inline

◆ Compare()

int grpc_core::XdsLocalityName::Compare ( const XdsLocalityName other) const
inline

◆ operator!=()

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

◆ operator==()

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

◆ region()

const std::string& grpc_core::XdsLocalityName::region ( ) const
inline

◆ sub_zone()

const std::string& grpc_core::XdsLocalityName::sub_zone ( ) const
inline

◆ zone()

const std::string& grpc_core::XdsLocalityName::zone ( ) const
inline

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