GRPC Core  18.0.0
Static Public Member Functions
grpc_core::LoadBalancingPolicyRegistry::Builder Class Reference

Methods used to create and populate the LoadBalancingPolicyRegistry. More...

#include <lb_policy_registry.h>

Static Public Member Functions

static void InitRegistry ()
 Global initialization and shutdown hooks. More...
 
static void ShutdownRegistry ()
 
static void RegisterLoadBalancingPolicyFactory (std::unique_ptr< LoadBalancingPolicyFactory > factory)
 Registers an LB policy factory. More...
 

Detailed Description

Methods used to create and populate the LoadBalancingPolicyRegistry.

NOT THREAD SAFE – to be used only during global gRPC initialization and shutdown.

Member Function Documentation

◆ InitRegistry()

void grpc_core::LoadBalancingPolicyRegistry::Builder::InitRegistry ( )
static

Global initialization and shutdown hooks.

◆ RegisterLoadBalancingPolicyFactory()

void grpc_core::LoadBalancingPolicyRegistry::Builder::RegisterLoadBalancingPolicyFactory ( std::unique_ptr< LoadBalancingPolicyFactory factory)
static

Registers an LB policy factory.

The factory will be used to create an LB policy whose name matches that of the factory.

◆ ShutdownRegistry()

void grpc_core::LoadBalancingPolicyRegistry::Builder::ShutdownRegistry ( )
static

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