GRPC Core  9.0.0
Public Member Functions | Static Public Member Functions
grpc_core::GlobalSubchannelPool Class Referencefinal

#include <global_subchannel_pool.h>

Public Member Functions

 GlobalSubchannelPool ()
 
 ~GlobalSubchannelPool () override
 
SubchannelRegisterSubchannel (SubchannelKey *key, Subchannel *constructed) override
 
void UnregisterSubchannel (SubchannelKey *key) override
 
SubchannelFindSubchannel (SubchannelKey *key) override
 
- Public Member Functions inherited from grpc_core::SubchannelPoolInterface
 SubchannelPoolInterface ()
 
virtual ~SubchannelPoolInterface ()
 
- Public Member Functions inherited from grpc_core::RefCounted< SubchannelPoolInterface >
 ~RefCounted ()=default
 
RefCountedPtr< SubchannelPoolInterfaceRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< SubchannelPoolInterfaceRef (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
 

Static Public Member Functions

static void Init ()
 
static void Shutdown ()
 
static RefCountedPtr< GlobalSubchannelPoolinstance ()
 
- Static Public Member Functions inherited from grpc_core::SubchannelPoolInterface
static grpc_arg CreateChannelArg (SubchannelPoolInterface *subchannel_pool)
 
static SubchannelPoolInterfaceGetSubchannelPoolFromChannelArgs (const grpc_channel_args *args)
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ GlobalSubchannelPool()

grpc_core::GlobalSubchannelPool::GlobalSubchannelPool ( )

◆ ~GlobalSubchannelPool()

grpc_core::GlobalSubchannelPool::~GlobalSubchannelPool ( )
override

Member Function Documentation

◆ FindSubchannel()

Subchannel * grpc_core::GlobalSubchannelPool::FindSubchannel ( SubchannelKey key)
overridevirtual

◆ Init()

void grpc_core::GlobalSubchannelPool::Init ( )
static

◆ instance()

RefCountedPtr< GlobalSubchannelPool > grpc_core::GlobalSubchannelPool::instance ( )
static

◆ RegisterSubchannel()

Subchannel * grpc_core::GlobalSubchannelPool::RegisterSubchannel ( SubchannelKey key,
Subchannel constructed 
)
overridevirtual

◆ Shutdown()

void grpc_core::GlobalSubchannelPool::Shutdown ( )
static

◆ UnregisterSubchannel()

void grpc_core::GlobalSubchannelPool::UnregisterSubchannel ( SubchannelKey key)
overridevirtual

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