Home
last modified time | relevance | path

Searched refs:loadBalancerFactory (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAbstractManagedChannelImplBuilderTest.java126 assertNull(builder.loadBalancerFactory); in loadBalancerFactory_default()
131 LoadBalancer.Factory loadBalancerFactory = mock(LoadBalancer.Factory.class); in loadBalancerFactory_normal() local
132 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()
DManagedChannelImplIdlenessTest.java140 .loadBalancerFactory(mockLoadBalancerFactory) in setUp()
DManagedChannelImplTest.java262 .loadBalancerFactory(mockLoadBalancerFactory) in setUp()
2764 .loadBalancerFactory(new AutoConfiguredLoadBalancerFactory()).build(); in badServiceConfigIsRecoverable()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DForwardingChannelBuilder.java125 public T loadBalancerFactory(LoadBalancer.Factory loadBalancerFactory) { in loadBalancerFactory() argument
126 delegate().loadBalancerFactory(loadBalancerFactory); in loadBalancerFactory()
DManagedChannelBuilder.java231 public abstract T loadBalancerFactory(LoadBalancer.Factory loadBalancerFactory); in loadBalancerFactory() method in ManagedChannelBuilder
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DAbstractManagedChannelImplBuilder.java118 @Nullable LoadBalancer.Factory loadBalancerFactory; field in AbstractManagedChannelImplBuilder
239 public final T loadBalancerFactory(LoadBalancer.Factory loadBalancerFactory) { in loadBalancerFactory() method in AbstractManagedChannelImplBuilder
243 this.loadBalancerFactory = loadBalancerFactory; in loadBalancerFactory()
DManagedChannelImpl.java120 private final LoadBalancer.Factory loadBalancerFactory; field in ManagedChannelImpl
378 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()