Home
last modified time | relevance | path

Searched refs:newLoadBalancer (Results 1 – 11 of 11) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplIdlenessTest.java116 when(mockLoadBalancerFactory.newLoadBalancer(any(Helper.class))).thenReturn(mockLoadBalancer); in setUp()
160 verify(mockLoadBalancerFactory, never()).newLoadBalancer(any(Helper.class)); in setUp()
181 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in newCallExitsIdleness()
198 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in newCallRefreshesIdlenessTimer()
260 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in realTransportsHoldsOffIdleness()
302 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in updateSubchannelAddresses_newAddressConnects()
322 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in updateSubchannelAddresses_existingAddressDoesNotConnect()
346 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in oobTransportDoesNotAffectIdleness()
392 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in updateOobChannelAddresses_newAddressConnects()
412 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in updateOobChannelAddresses_existingAddressDoesNotConnect()
DAutoConfiguredLoadBalancerFactoryTest.java63 LoadBalancer lb = lbf.newLoadBalancer(new TestHelper()); in newLoadBalancer_isAuto()
71 (AutoConfiguredLoadBalancer) lbf.newLoadBalancer(new TestHelper()); in defaultIsPickFirst()
80 (AutoConfiguredLoadBalancer) lbf.newLoadBalancer(new TestHelper()); in forwardsCalls()
131 (AutoConfiguredLoadBalancer) lbf.newLoadBalancer(helper); in handleResolvedAddressGroups_keepOldBalancer()
165 (AutoConfiguredLoadBalancer) lbf.newLoadBalancer(helper); in handleResolvedAddressGroups_shutsDownOldBalancer()
305 new AutoConfiguredLoadBalancerFactory(channelTracer, timeProvider).newLoadBalancer(helper); in channelTracing_lbPolicyChanged()
DManagedChannelImplTest.java243 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in createChannel()
252 when(mockLoadBalancerFactory.newLoadBalancer(any(Helper.class))).thenReturn(mockLoadBalancer); in setUp()
487 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in subtestCallsAndShutdown()
566 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in noMoreCallbackAfterLoadBalancerShutdown()
767 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in nameResolverReturnsEmptySubLists()
786 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in loadBalancerThrowsInHandleResolvedAddresses()
1577 verify(mockLoadBalancerFactory, never()).newLoadBalancer(any(Helper.class)); in getState_withRequestConnect()
1582 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in getState_withRequestConnect()
1596 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in getState_withRequestConnect_IdleWithLbRunning()
1713 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in subtestPanic()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DAutoConfiguredLoadBalancerFactory.java62 public LoadBalancer newLoadBalancer(Helper helper) { in newLoadBalancer() method in AutoConfiguredLoadBalancerFactory
96 delegate = delegateFactory.newLoadBalancer(helper); in AutoConfiguredLoadBalancer()
128 delegate = delegateFactory.newLoadBalancer(helper); in handleResolvedAddressGroups()
DManagedChannelImpl.java333 lbHelper.lb = loadBalancerFactory.newLoadBalancer(lbHelper); in exitIdleMode()
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbLoadBalancerFactory.java45 public LoadBalancer newLoadBalancer(LoadBalancer.Helper helper) { in newLoadBalancer() method in GrpclbLoadBalancerFactory
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DPickFirstBalancerFactory.java52 public LoadBalancer newLoadBalancer(LoadBalancer.Helper helper) { in newLoadBalancer() method in PickFirstBalancerFactory
DLoadBalancer.java672 public abstract LoadBalancer newLoadBalancer(Helper helper); in newLoadBalancer() method in LoadBalancer.Factory
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DPickFirstLoadBalancerTest.java92 loadBalancer = (PickFirstBalancer) PickFirstBalancerFactory.getInstance().newLoadBalancer( in setUp()
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DRoundRobinLoadBalancerFactory.java98 public LoadBalancer newLoadBalancer(LoadBalancer.Helper helper) { in newLoadBalancer() method in RoundRobinLoadBalancerFactory
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java135 .newLoadBalancer(mockHelper); in setUp()