Home
last modified time | relevance | path

Searched refs:SubchannelPicker (Results 1 – 25 of 29) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dlb_policy.h264 class SubchannelPicker {
266 SubchannelPicker() = default;
267 virtual ~SubchannelPicker() = default;
287 std::unique_ptr<SubchannelPicker>) = 0;
373 class QueuePicker : public SubchannelPicker {
388 class TransientFailurePicker : public SubchannelPicker {
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DPickFirstBalancerFactory.java28 import io.grpc.LoadBalancer.SubchannelPicker;
98 SubchannelPicker picker; in handleSubchannelState()
133 private static final class Picker extends SubchannelPicker {
147 private static final class RequestConnectionPicker extends SubchannelPicker {
DLoadBalancer.java170 public abstract static class SubchannelPicker { class in LoadBalancer
568 @Nonnull ConnectivityState newState, @Nonnull SubchannelPicker newPicker); in updateBalancingState()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DDelayedClientTransportTest.java40 import io.grpc.LoadBalancer.SubchannelPicker;
70 @Mock private SubchannelPicker mockPicker;
346 SubchannelPicker picker = mock(SubchannelPicker.class); in reprocessSemantics()
393 picker = mock(SubchannelPicker.class); in reprocessSemantics()
440 picker = mock(SubchannelPicker.class); in reprocessSemantics()
454 SubchannelPicker picker = mock(SubchannelPicker.class); in reprocess_NoPendingStream()
478 SubchannelPicker picker = mock(SubchannelPicker.class); in reprocess_newStreamRacesWithReprocess()
546 SubchannelPicker picker2 = mock(SubchannelPicker.class); in reprocess_newStreamRacesWithReprocess()
DAutoConfiguredLoadBalancerFactoryTest.java33 import io.grpc.LoadBalancer.SubchannelPicker;
126 public void updateBalancingState(ConnectivityState newState, SubchannelPicker newPicker) { in handleResolvedAddressGroups_keepOldBalancer()
160 public void updateBalancingState(ConnectivityState newState, SubchannelPicker newPicker) { in handleResolvedAddressGroups_shutsDownOldBalancer()
298 public void updateBalancingState(ConnectivityState newState, SubchannelPicker newPicker) { in channelTracing_lbPolicyChanged()
396 @Nonnull ConnectivityState newState, @Nonnull SubchannelPicker newPicker) { in updateBalancingState()
DManagedChannelImplIdlenessTest.java46 import io.grpc.LoadBalancer.SubchannelPicker;
270 SubchannelPicker mockPicker = mock(SubchannelPicker.class); in realTransportsHoldsOffIdleness()
350 SubchannelPicker failingPicker = mock(SubchannelPicker.class); in oobTransportDoesNotAffectIdleness()
DManagedChannelImplTest.java80 import io.grpc.LoadBalancer.SubchannelPicker;
187 private SubchannelPicker mockPicker;
511 SubchannelPicker picker2 = mock(SubchannelPicker.class); in subtestCallsAndShutdown()
748 SubchannelPicker picker = mock(SubchannelPicker.class); in nameResolutionFailed_delayedTransportShutdownCancelsBackoff()
929 SubchannelPicker picker = mock(SubchannelPicker.class); in subtestFailRpcFromBalancer()
1029 SubchannelPicker picker2 = mock(SubchannelPicker.class); in allServersFailedToConnect()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/weighted_target/
Dweighted_target.cc88 explicit ChildPickerWrapper(std::unique_ptr<SubchannelPicker> picker) in ChildPickerWrapper()
93 std::unique_ptr<SubchannelPicker> picker_;
98 class WeightedPicker : public SubchannelPicker {
151 std::unique_ptr<SubchannelPicker> picker) override;
166 std::unique_ptr<SubchannelPicker> picker);
378 std::unique_ptr<SubchannelPicker> picker; in UpdateStateLocked()
518 std::unique_ptr<SubchannelPicker> picker) { in OnConnectivityStateUpdateLocked()
601 std::unique_ptr<SubchannelPicker> picker) { in UpdateState()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DDelayedClientTransport.java28 import io.grpc.LoadBalancer.SubchannelPicker;
80 private SubchannelPicker lastPicker;
134 SubchannelPicker picker; in newStream()
276 final void reprocess(@Nullable SubchannelPicker picker) { in reprocess()
DOobChannel.java43 import io.grpc.LoadBalancer.SubchannelPicker;
71 private SubchannelPicker subchannelPicker;
177 subchannelPicker = new SubchannelPicker() { in setSubchannel()
259 delayedTransport.reprocess(new SubchannelPicker() { in handleSubchannelStateChange()
DAutoConfiguredLoadBalancerFactory.java31 import io.grpc.LoadBalancer.SubchannelPicker;
237 private static final class EmptyPicker extends SubchannelPicker {
245 private static final class FailingPicker extends SubchannelPicker {
DManagedChannelImpl.java56 import io.grpc.LoadBalancer.SubchannelPicker;
166 private volatile SubchannelPicker subchannelPicker;
424 SubchannelPicker pickerCopy = subchannelPicker; in get()
727 final class PanicSubchannelPicker extends SubchannelPicker { in panic()
751 private void updateSubchannelPicker(SubchannelPicker newPicker) { in updateSubchannelPicker()
1108 final ConnectivityState newState, final SubchannelPicker newPicker) { in updateBalancingState()
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java58 import io.grpc.LoadBalancer.SubchannelPicker;
99 private ArgumentCaptor<SubchannelPicker> pickerCaptor;
207 SubchannelPicker picker = pickerCaptor.getValue(); in pickAfterResolvedUpdatedHosts()
314 SubchannelPicker picker = new EmptyPicker(Status.UNKNOWN); in pickerEmptyList()
380 Iterator<SubchannelPicker> pickers = pickerCaptor.getAllValues().iterator(); in subchannelStateIsolation()
410 SubchannelPicker picker = pickerCaptor.getValue(); in noStickinessEnabled_withStickyHeader()
443 SubchannelPicker picker = pickerCaptor.getValue(); in stickinessEnabled_withoutStickyHeader()
475 SubchannelPicker picker = pickerCaptor.getValue(); in stickinessEnabled_withStickyHeader()
505 SubchannelPicker picker = pickerCaptor.getValue(); in stickinessEnabled_withDifferentStickyHeaders()
550 SubchannelPicker picker = pickerCaptor.getValue(); in stickiness_goToTransientFailure_pick_backToReady()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DPickFirstLoadBalancerTest.java41 import io.grpc.LoadBalancer.SubchannelPicker;
68 private ArgumentCaptor<SubchannelPicker> pickerCaptor;
125 .updateBalancingState(isA(ConnectivityState.class), isA(SubchannelPicker.class)); in pickAfterResolvedAndUnchanged()
205 .updateBalancingState(any(ConnectivityState.class), any(SubchannelPicker.class)); in nameResolutionSuccessAfterError()
253 SubchannelPicker picker = pickerCaptor.getValue(); in requestConnection()
DLoadBalancerTest.java210 ConnectivityState newState, LoadBalancer.SubchannelPicker newPicker) {} in updateBalancingState()
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DForwardingLoadBalancerHelper.java25 import io.grpc.LoadBalancer.SubchannelPicker;
72 ConnectivityState newState, SubchannelPicker newPicker) { in updateBalancingState()
DRoundRobinLoadBalancerFactory.java39 import io.grpc.LoadBalancer.SubchannelPicker;
404 private abstract static class RoundRobinPicker extends SubchannelPicker {
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/priority/
Dpriority.cc113 std::unique_ptr<SubchannelPicker> GetPicker() { in GetPicker()
133 explicit RefCountedPicker(std::unique_ptr<SubchannelPicker> picker) in RefCountedPicker()
138 std::unique_ptr<SubchannelPicker> picker_;
142 class RefCountedPickerWrapper : public SubchannelPicker {
163 std::unique_ptr<SubchannelPicker> picker) override;
178 std::unique_ptr<SubchannelPicker> picker);
609 std::unique_ptr<SubchannelPicker> picker) { in OnConnectivityStateUpdateLocked()
759 std::unique_ptr<SubchannelPicker> picker) { in UpdateState()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_manager.cc85 std::unique_ptr<SubchannelPicker> picker) in ChildPickerWrapper()
93 std::unique_ptr<SubchannelPicker> picker_;
98 class ClusterPicker : public SubchannelPicker {
152 std::unique_ptr<SubchannelPicker> picker) override;
340 std::unique_ptr<SubchannelPicker> picker; in UpdateStateLocked()
551 std::unique_ptr<SubchannelPicker> picker) { in UpdateState()
Dxds_cluster_impl.cc195 explicit RefCountedPicker(std::unique_ptr<SubchannelPicker> picker) in RefCountedPicker()
200 std::unique_ptr<SubchannelPicker> picker_;
204 class Picker : public SubchannelPicker {
232 std::unique_ptr<SubchannelPicker> picker) override;
575 std::unique_ptr<SubchannelPicker> picker) { in UpdateState()
Dcds.cc109 std::unique_ptr<SubchannelPicker> picker) override;
213 std::unique_ptr<SubchannelPicker> picker) { in UpdateState()
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DGrpclbLoadBalancerTest.java60 import io.grpc.LoadBalancer.SubchannelPicker;
143 private SubchannelPicker currentPicker;
163 private ArgumentCaptor<SubchannelPicker> pickerCaptor;
243 currentPicker = (SubchannelPicker) invocation.getArguments()[1]; in setUp()
247 any(ConnectivityState.class), any(SubchannelPicker.class)); in setUp()
578 .updateBalancingState(any(ConnectivityState.class), any(SubchannelPicker.class)); in loadReporting()
864 .updateBalancingState(any(ConnectivityState.class), any(SubchannelPicker.class)); in grpclbWorking()
1140 .updateBalancingState(any(ConnectivityState.class), any(SubchannelPicker.class)); in subtestGrpclbFallbackInitialTimeout()
1171 .updateBalancingState(any(ConnectivityState.class), any(SubchannelPicker.class)); in subtestGrpclbFallbackInitialTimeout()
1367 .updateBalancingState(eq(CONNECTING), any(SubchannelPicker.class)); in fallbackTestVerifyUseOfBackendLists()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc331 class Picker : public SubchannelPicker {
334 std::unique_ptr<SubchannelPicker> child_picker, in Picker()
346 std::unique_ptr<SubchannelPicker> child_picker_;
358 std::unique_ptr<SubchannelPicker> picker) override;
688 std::unique_ptr<SubchannelPicker> picker) { in UpdateState()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/
Dchild_policy_handler.cc50 std::unique_ptr<SubchannelPicker> picker) override { in UpdateState()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/round_robin/
Dround_robin.cc153 class Picker : public SubchannelPicker {

12