Home
last modified time | relevance | path

Searched refs:lb_policy (Results 1 – 25 of 34) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/
Dchild_policy_handler.cc218 auto& lb_policy = in UpdateLocked() local
220 lb_policy = CreateChildPolicy(args.config->name(), *args.args); in UpdateLocked()
221 policy_to_update = lb_policy.get(); in UpdateLocked()
267 OrphanablePtr<LoadBalancingPolicy> lb_policy = in CreateChildPolicy() local
269 if (GPR_UNLIKELY(lb_policy == nullptr)) { in CreateChildPolicy()
273 helper->set_child(lb_policy.get()); in CreateChildPolicy()
277 child_policy_name, lb_policy.get()); in CreateChildPolicy()
282 grpc_pollset_set_add_pollset_set(lb_policy->interested_parties(), in CreateChildPolicy()
284 return lb_policy; in CreateChildPolicy()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc101 grpc_core::OrphanablePtr<grpc_core::LoadBalancingPolicy> lb_policy; member
138 grpc_core::LoadBalancingPolicy* lb_policy; member
149 grpc_core::LoadBalancingPolicy* lb_policy; member
153 grpc_core::LoadBalancingPolicy* lb_policy,
164 if (chand->lb_policy != nullptr) { in set_channel_connectivity_state_locked()
167 chand->lb_policy->CancelMatchingPicksLocked( in set_channel_connectivity_state_locked()
172 chand->lb_policy->CancelMatchingPicksLocked(/* mask= */ 0, /* check= */ 0, in set_channel_connectivity_state_locked()
187 if (w->lb_policy == w->chand->lb_policy.get()) { in on_lb_policy_state_changed_locked()
190 w->lb_policy, grpc_connectivity_state_name(w->state)); in on_lb_policy_state_changed_locked()
195 watch_lb_policy_locked(w->chand, w->lb_policy, w->state); in on_lb_policy_state_changed_locked()
[all …]
/external/grpc-grpc/
DAndroid.bp195 "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc",
211 "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
642 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
643 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
644 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc",
645 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
646 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
647 …"src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb…
648 …"src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.p…
649 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c",
[all …]
DBUILD1045 "src/core/ext/filters/client_channel/lb_policy.cc",
1067 "src/core/ext/filters/client_channel/lb_policy.h",
1206 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1207 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1208 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc",
1209 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1210 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
1211 …"src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb…
1212 …"src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.p…
1213 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c",
[all …]
Dconfig.w32321 "src\\core\\ext\\filters\\client_channel\\lb_policy.cc " +
349 "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\client_load_reporting_filter.cc " +
350 "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\grpclb.cc " +
351 "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\grpclb_channel_secure.cc " +
352 "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\grpclb_client_stats.cc " +
353 "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\load_balancer_api.cc " +
354 …"src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\proto\\grpc\\lb\\v1\\google\\protobuf…
355 …"src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\proto\\grpc\\lb\\v1\\google\\protobuf…
356 …"src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\proto\\grpc\\lb\\v1\\load_balancer.pb…
358 "src\\core\\ext\\filters\\client_channel\\lb_policy\\pick_first\\pick_first.cc " +
[all …]
DgRPC-Core.podspec279 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h',
341 'src/core/ext/filters/client_channel/lb_policy.h',
503 … 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h',
504 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h',
505 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h',
506 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h',
507 …'src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb…
508 …'src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.p…
509 … 'src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h',
511 'src/core/ext/filters/client_channel/lb_policy/subchannel_list.h',
[all …]
Dconfig.m4346 src/core/ext/filters/client_channel/lb_policy.cc \
374 src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc \
375 src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc \
376 src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc \
377 src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc \
378 src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc \
379 …src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.…
380 …src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb…
381 src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c \
383 src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc \
[all …]
DgRPC-C++.podspec270 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h',
332 'src/core/ext/filters/client_channel/lb_policy.h',
494 … 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h',
495 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h',
496 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h',
497 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h',
498 …'src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb…
499 …'src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.p…
500 … 'src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h',
502 'src/core/ext/filters/client_channel/lb_policy/subchannel_list.h',
Dgrpc.gyp538 'src/core/ext/filters/client_channel/lb_policy.cc',
566 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc',
567 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc',
568 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc',
569 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc',
570 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc',
571 …'src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb…
572 …'src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.p…
573 'src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c',
575 'src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc',
[all …]
Dgrpc.gemspec211 s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h )
277 s.files += %w( src/core/ext/filters/client_channel/lb_policy.h )
439 …s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h…
440 s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h )
441 s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h )
442 s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h )
443 …s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protob…
444 …s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protob…
445 …s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer…
447 s.files += %w( src/core/ext/filters/client_channel/lb_policy/subchannel_list.h )
[all …]
/external/rust/crates/grpcio-sys/grpc/
DBUILD1103 "src/core/ext/filters/client_channel/lb_policy.cc",
1104 "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc",
1132 "src/core/ext/filters/client_channel/lb_policy.h",
1133 "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h",
1295 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc",
1298 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h",
1310 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1311 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1312 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc",
1313 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
[all …]
DBUILD.gn236 "src/core/ext/filters/client_channel/lb_policy.cc",
237 "src/core/ext/filters/client_channel/lb_policy.h",
238 "src/core/ext/filters/client_channel/lb_policy/address_filtering.cc",
239 "src/core/ext/filters/client_channel/lb_policy/address_filtering.h",
240 "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc",
241 "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h",
242 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
243 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
244 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
245 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
[all …]
DgRPC-Core.podspec218 'src/core/ext/filters/client_channel/lb_policy.cc',
219 'src/core/ext/filters/client_channel/lb_policy.h',
220 'src/core/ext/filters/client_channel/lb_policy/address_filtering.cc',
221 'src/core/ext/filters/client_channel/lb_policy/address_filtering.h',
222 'src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc',
223 'src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h',
224 … 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc',
225 … 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h',
226 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc',
227 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h',
[all …]
Dgrpc.gyp469 'src/core/ext/filters/client_channel/lb_policy.cc',
470 'src/core/ext/filters/client_channel/lb_policy/address_filtering.cc',
471 'src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc',
472 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc',
473 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc',
474 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc',
475 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc',
476 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc',
477 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc',
478 'src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc',
[all …]
Dconfig.m456 src/core/ext/filters/client_channel/lb_policy.cc \
57 src/core/ext/filters/client_channel/lb_policy/address_filtering.cc \
58 src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc \
59 src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc \
60 src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc \
61 src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc \
62 src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc \
63 src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc \
64 src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc \
65 src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc \
[all …]
DgRPC-C++.podspec215 'src/core/ext/filters/client_channel/lb_policy.h',
216 'src/core/ext/filters/client_channel/lb_policy/address_filtering.h',
217 'src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h',
218 … 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h',
219 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h',
220 … 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h',
221 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h',
222 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h',
223 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h',
224 'src/core/ext/filters/client_channel/lb_policy/subchannel_list.h',
[all …]
Dconfig.w3223 "src\\core\\ext\\filters\\client_channel\\lb_policy.cc " +
24 "src\\core\\ext\\filters\\client_channel\\lb_policy\\address_filtering.cc " +
25 "src\\core\\ext\\filters\\client_channel\\lb_policy\\child_policy_handler.cc " +
26 "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\client_load_reporting_filter.cc " +
27 "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\grpclb.cc " +
28 "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\grpclb_balancer_addresses.cc " +
29 "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\grpclb_channel_secure.cc " +
30 "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\grpclb_client_stats.cc " +
31 "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\load_balancer_api.cc " +
32 "src\\core\\ext\\filters\\client_channel\\lb_policy\\pick_first\\pick_first.cc " +
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_manager.cc443 OrphanablePtr<LoadBalancingPolicy> lb_policy = in CreateChildPolicyLocked() local
452 lb_policy.get()); in CreateChildPolicyLocked()
458 lb_policy->interested_parties(), in CreateChildPolicyLocked()
460 return lb_policy; in CreateChildPolicyLocked()
Dxds_cluster_impl.cc499 OrphanablePtr<LoadBalancingPolicy> lb_policy = in CreateChildPolicyLocked() local
505 this, lb_policy.get()); in CreateChildPolicyLocked()
510 grpc_pollset_set_add_pollset_set(lb_policy->interested_parties(), in CreateChildPolicyLocked()
512 return lb_policy; in CreateChildPolicyLocked()
Dxds_cluster_resolver.cc994 OrphanablePtr<LoadBalancingPolicy> lb_policy = in CreateChildPolicyLocked() local
997 if (GPR_UNLIKELY(lb_policy == nullptr)) { in CreateChildPolicyLocked()
1005 lb_policy.get()); in CreateChildPolicyLocked()
1010 grpc_pollset_set_add_pollset_set(lb_policy->interested_parties(), in CreateChildPolicyLocked()
1012 return lb_policy; in CreateChildPolicyLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/weighted_target/
Dweighted_target.cc457 OrphanablePtr<LoadBalancingPolicy> lb_policy = in CreateChildPolicyLocked() local
465 lb_policy.get()); in CreateChildPolicyLocked()
471 lb_policy->interested_parties(), in CreateChildPolicyLocked()
473 return lb_policy; in CreateChildPolicyLocked()
/external/grpc-grpc/tools/distrib/
Dcheck_nanopb_output.sh65 if ! diff -r "$NANOPB_TMP_OUTPUT" src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/l…
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/priority/
Dpriority.cc578 OrphanablePtr<LoadBalancingPolicy> lb_policy = in CreateChildPolicyLocked() local
585 priority_policy_.get(), name_.c_str(), this, lb_policy.get()); in CreateChildPolicyLocked()
590 grpc_pollset_set_add_pollset_set(lb_policy->interested_parties(), in CreateChildPolicyLocked()
592 return lb_policy; in CreateChildPolicyLocked()
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/testing/xds/v3/
Dcluster.proto109 // [#next-major-version: In the v3 API, we should consider deprecating the lb_policy field
144 LbPolicy lb_policy = 6; field
/external/rust/crates/grpcio/src/
Dchannel.rs364 pub fn load_balancing_policy(mut self, lb_policy: LbPolicy) -> ChannelBuilder { in load_balancing_policy()
365 let val = match lb_policy { in load_balancing_policy()

12