Classes | Public Member Functions | Private Attributes | List of all members
grpc_core::XdsLocalityName Class Reference

#include <xds_client_stats.h>

Inheritance diagram for grpc_core::XdsLocalityName:
Inheritance graph
[legend]

Classes

struct  Less
 

Public Member Functions

const std::string & AsHumanReadableString ()
 
int Compare (const XdsLocalityName &other) const
 
bool operator!= (const XdsLocalityName &other) const
 
bool operator== (const XdsLocalityName &other) const
 
const std::string & region () const
 
const std::string & sub_zone () const
 
 XdsLocalityName (std::string region, std::string zone, std::string sub_zone)
 
const std::string & zone () const
 
- Public Member Functions inherited from grpc_core::RefCounted< XdsLocalityName >
RefCountedoperator= (const RefCounted &)=delete
 
RefCountedPtr< XdsLocalityNameRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< XdsLocalityNameRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedPtr< XdsLocalityNameRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< XdsLocalityNameRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
 ~RefCounted ()=default
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Private Attributes

std::string human_readable_string_
 
std::string region_
 
std::string sub_zone_
 
std::string zone_
 

Additional Inherited Members

- Public Types inherited from grpc_core::RefCounted< XdsLocalityName >
using RefCountedChildType = XdsLocalityName
 
- Protected Member Functions inherited from grpc_core::RefCounted< XdsLocalityName >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Detailed Description

Definition at line 46 of file xds_client_stats.h.

Constructor & Destructor Documentation

◆ XdsLocalityName()

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

Definition at line 61 of file xds_client_stats.h.

Member Function Documentation

◆ AsHumanReadableString()

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

Definition at line 87 of file xds_client_stats.h.

◆ Compare()

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

Definition at line 75 of file xds_client_stats.h.

◆ operator!=()

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

Definition at line 71 of file xds_client_stats.h.

◆ operator==()

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

Definition at line 66 of file xds_client_stats.h.

◆ region()

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

Definition at line 83 of file xds_client_stats.h.

◆ sub_zone()

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

Definition at line 85 of file xds_client_stats.h.

◆ zone()

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

Definition at line 84 of file xds_client_stats.h.

Member Data Documentation

◆ human_readable_string_

std::string grpc_core::XdsLocalityName::human_readable_string_
private

Definition at line 100 of file xds_client_stats.h.

◆ region_

std::string grpc_core::XdsLocalityName::region_
private

Definition at line 97 of file xds_client_stats.h.

◆ sub_zone_

std::string grpc_core::XdsLocalityName::sub_zone_
private

Definition at line 99 of file xds_client_stats.h.

◆ zone_

std::string grpc_core::XdsLocalityName::zone_
private

Definition at line 98 of file xds_client_stats.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:38