HomeSort by relevance Sort by last modified time
    Searched refs:nameResolverFactory (Results 1 - 9 of 9) sorted by null

  /external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
ManagedChannelImplGetNameResolverTest.java 97 Factory nameResolverFactory = new NameResolver.Factory() {
110 "foo.googleapis.com:8080", nameResolverFactory, NAME_RESOLVER_PARAMS);
118 Factory nameResolverFactory = new FakeNameResolverFactory(expectedUri.getScheme());
120 target, nameResolverFactory, NAME_RESOLVER_PARAMS);
127 Factory nameResolverFactory = new FakeNameResolverFactory("dns");
131 target, nameResolverFactory, NAME_RESOLVER_PARAMS);
ManagedChannelImplTest.java 261 .nameResolverFactory(new FakeNameResolverFactory.Builder(expectedUri).build())
287 channelBuilder.nameResolverFactory(
314 channelBuilder.nameResolverFactory(
426 FakeNameResolverFactory nameResolverFactory =
428 channelBuilder.nameResolverFactory(nameResolverFactory);
487 assertEquals(1, nameResolverFactory.resolvers.size());
502 assertTrue(nameResolverFactory.resolvers.get(0).shutdown);
510 assertFalse(nameResolverFactory.resolvers.get(0).shutdown);
524 assertTrue(nameResolverFactory.resolvers.get(0).shutdown)
    [all...]
AbstractManagedChannelImplBuilderTest.java 106 NameResolver.Factory nameResolverFactory = mock(NameResolver.Factory.class);
107 assertEquals(builder, builder.nameResolverFactory(nameResolverFactory));
108 assertEquals(nameResolverFactory, builder.getNameResolverFactory());
114 builder.nameResolverFactory(mock(NameResolver.Factory.class));
115 assertEquals(builder, builder.nameResolverFactory(null));
121 directAddressBuilder.nameResolverFactory(mock(NameResolver.Factory.class));
ManagedChannelImplIdlenessTest.java 139 .nameResolverFactory(mockNameResolverFactory)
  /external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
AbstractManagedChannelImplBuilder.java 103 private NameResolver.Factory nameResolverFactory = DEFAULT_NAME_RESOLVER_FACTORY;
196 this.nameResolverFactory = new DirectAddressNameResolverFactory(directServerAddress, authority);
226 public final T nameResolverFactory(NameResolver.Factory resolverFactory) {
228 "directServerAddress is set (%s), which forbids the use of NameResolverFactory",
231 this.nameResolverFactory = resolverFactory;
233 this.nameResolverFactory = DEFAULT_NAME_RESOLVER_FACTORY;
465 return nameResolverFactory;
467 return new OverrideAuthorityNameResolverFactory(nameResolverFactory, authorityOverride);
ManagedChannelImpl.java 118 private final NameResolver.Factory nameResolverFactory;
398 nameResolver = getNameResolver(target, nameResolverFactory, nameResolverParams);
552 this.nameResolverFactory = builder.getNameResolverFactory();
554 this.nameResolver = getNameResolver(target, nameResolverFactory, nameResolverParams);
631 static NameResolver getNameResolver(String target, NameResolver.Factory nameResolverFactory,
647 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams);
660 targetUri = new URI(nameResolverFactory.getDefaultScheme(), "", "/" + target, null);
665 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams);
    [all...]
  /external/grpc-grpc-java/core/src/main/java/io/grpc/
ForwardingChannelBuilder.java 119 public T nameResolverFactory(NameResolver.Factory resolverFactory) {
120 delegate().nameResolverFactory(resolverFactory);
ManagedChannelBuilder.java 215 public abstract T nameResolverFactory(NameResolver.Factory resolverFactory);
  /external/grpc-grpc-java/core/
grpc-core-1.14.0.jar 

Completed in 745 milliseconds