#include <child_policy_handler.h>
Classes | |
class | Helper |
Private Member Functions | |
OrphanablePtr< LoadBalancingPolicy > | CreateChildPolicy (const char *child_policy_name, const grpc_channel_args &args) |
void | ShutdownLocked () override |
Shuts down the policy. More... | |
Additional Inherited Members | |
![]() | |
ChannelControlHelper * | channel_control_helper () const |
std::shared_ptr< WorkSerializer > | work_serializer () const |
![]() | |
InternallyRefCounted (const char *trace=nullptr, intptr_t initial_refcount=1) | |
RefCountedPtr< LoadBalancingPolicy > | Ref () GRPC_MUST_USE_RESULT |
RefCountedPtr< LoadBalancingPolicy > | Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
void | Unref () |
void | Unref (const DebugLocation &location, const char *reason) |
~InternallyRefCounted () override=default | |
![]() | |
Orphanable () | |
virtual | ~Orphanable () |
Definition at line 39 of file child_policy_handler.h.
Definition at line 41 of file child_policy_handler.h.
|
virtual |
Definition at line 303 of file child_policy_handler.cc.
|
private |
Definition at line 275 of file child_policy_handler.cc.
|
virtual |
Definition at line 310 of file child_policy_handler.cc.
|
overridevirtual |
Tries to enter a READY connectivity state. This is a no-op by default, since most LB policies never go into IDLE state.
Reimplemented from grpc_core::LoadBalancingPolicy.
Definition at line 257 of file child_policy_handler.cc.
|
inlineoverridevirtual |
Returns the name of the LB policy.
Implements grpc_core::LoadBalancingPolicy.
Definition at line 44 of file child_policy_handler.h.
|
overridevirtual |
Resets connection backoff.
Implements grpc_core::LoadBalancingPolicy.
Definition at line 266 of file child_policy_handler.cc.
|
overrideprivatevirtual |
Shuts down the policy.
Implements grpc_core::LoadBalancingPolicy.
Definition at line 137 of file child_policy_handler.cc.
|
overridevirtual |
Updates the policy with new data from the resolver. Will be invoked immediately after LB policy is constructed, and then again whenever the resolver returns a new result.
Implements grpc_core::LoadBalancingPolicy.
Definition at line 163 of file child_policy_handler.cc.
|
private |
Definition at line 81 of file child_policy_handler.h.
|
private |
Definition at line 78 of file child_policy_handler.h.
|
private |
Definition at line 82 of file child_policy_handler.h.
Definition at line 73 of file child_policy_handler.h.
|
private |
Definition at line 71 of file child_policy_handler.h.