Searched refs:loadBalancerFactory (Results 1 – 7 of 7) sorted by relevance
126 assertNull(builder.loadBalancerFactory); in loadBalancerFactory_default()131 LoadBalancer.Factory loadBalancerFactory = mock(LoadBalancer.Factory.class); in loadBalancerFactory_normal() local132 assertEquals(builder, builder.loadBalancerFactory(loadBalancerFactory)); in loadBalancerFactory_normal()133 assertEquals(loadBalancerFactory, builder.loadBalancerFactory); in loadBalancerFactory_normal()138 LoadBalancer.Factory defaultValue = builder.loadBalancerFactory; in loadBalancerFactory_null()139 builder.loadBalancerFactory(mock(LoadBalancer.Factory.class)); in loadBalancerFactory_null()140 assertEquals(builder, builder.loadBalancerFactory(null)); in loadBalancerFactory_null()141 assertEquals(defaultValue, builder.loadBalancerFactory); in loadBalancerFactory_null()146 directAddressBuilder.loadBalancerFactory(mock(LoadBalancer.Factory.class)); in loadBalancerFactory_notAllowedWithDirectAddress()
140 .loadBalancerFactory(mockLoadBalancerFactory) in setUp()
262 .loadBalancerFactory(mockLoadBalancerFactory) in setUp()2764 .loadBalancerFactory(new AutoConfiguredLoadBalancerFactory()).build(); in badServiceConfigIsRecoverable()
125 public T loadBalancerFactory(LoadBalancer.Factory loadBalancerFactory) { in loadBalancerFactory() argument126 delegate().loadBalancerFactory(loadBalancerFactory); in loadBalancerFactory()
231 public abstract T loadBalancerFactory(LoadBalancer.Factory loadBalancerFactory); in loadBalancerFactory() method in ManagedChannelBuilder
118 @Nullable LoadBalancer.Factory loadBalancerFactory; field in AbstractManagedChannelImplBuilder239 public final T loadBalancerFactory(LoadBalancer.Factory loadBalancerFactory) { in loadBalancerFactory() method in AbstractManagedChannelImplBuilder243 this.loadBalancerFactory = loadBalancerFactory; in loadBalancerFactory()
120 private final LoadBalancer.Factory loadBalancerFactory; field in ManagedChannelImpl378 lbHelper.lb = loadBalancerFactory.newLoadBalancer(lbHelper); in exitIdleMode()555 if (builder.loadBalancerFactory == null) { in ManagedChannelImpl()556 this.loadBalancerFactory = new AutoConfiguredLoadBalancerFactory(); in ManagedChannelImpl()558 this.loadBalancerFactory = builder.loadBalancerFactory; in ManagedChannelImpl()