GRPC Core  18.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
 
RefCountedPtr< SubchannelRegisterSubchannel (const SubchannelKey &key, RefCountedPtr< Subchannel > constructed) override ABSL_LOCKS_EXCLUDED(mu_)
 
void UnregisterSubchannel (const SubchannelKey &key, Subchannel *subchannel) override ABSL_LOCKS_EXCLUDED(mu_)
 
RefCountedPtr< SubchannelFindSubchannel (const SubchannelKey &key) override ABSL_LOCKS_EXCLUDED(mu_)
 
- Public Member Functions inherited from grpc_core::SubchannelPoolInterface
 SubchannelPoolInterface ()
 
 ~SubchannelPoolInterface () override
 
- 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)
 
RefCountedPtr< SubchannelPoolInterfaceRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< SubchannelPoolInterfaceRefIfNonZero (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
 

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 (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Constructor & Destructor Documentation

◆ GlobalSubchannelPool()

grpc_core::GlobalSubchannelPool::GlobalSubchannelPool ( )
inline

◆ ~GlobalSubchannelPool()

grpc_core::GlobalSubchannelPool::~GlobalSubchannelPool ( )
inlineoverride

Member Function Documentation

◆ FindSubchannel()

RefCountedPtr< Subchannel > grpc_core::GlobalSubchannelPool::FindSubchannel ( const SubchannelKey key)
overridevirtual

◆ Init()

void grpc_core::GlobalSubchannelPool::Init ( )
static

◆ instance()

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

◆ RegisterSubchannel()

RefCountedPtr< Subchannel > grpc_core::GlobalSubchannelPool::RegisterSubchannel ( const SubchannelKey key,
RefCountedPtr< Subchannel constructed 
)
overridevirtual

◆ Shutdown()

void grpc_core::GlobalSubchannelPool::Shutdown ( )
static

◆ UnregisterSubchannel()

void grpc_core::GlobalSubchannelPool::UnregisterSubchannel ( const SubchannelKey key,
Subchannel subchannel 
)
overridevirtual

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