Module org.neo4j.driver
Class NettyDomainNameResolver
java.lang.Object
io.netty.resolver.SimpleNameResolver<InetAddress>
io.netty.resolver.InetNameResolver
org.neo4j.driver.internal.async.connection.NettyDomainNameResolver
- All Implemented Interfaces:
io.netty.resolver.NameResolver<InetAddress>
,Closeable
,AutoCloseable
public class NettyDomainNameResolver
extends io.netty.resolver.InetNameResolver
-
Constructor Summary
ConstructorDescriptionNettyDomainNameResolver
(io.netty.util.concurrent.EventExecutor executor, org.neo4j.driver.internal.DomainNameResolver domainNameResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doResolve
(String inetHost, io.netty.util.concurrent.Promise<InetAddress> promise) protected void
doResolveAll
(String inetHost, io.netty.util.concurrent.Promise<List<InetAddress>> promise) Methods inherited from class io.netty.resolver.InetNameResolver
asAddressResolver
Methods inherited from class io.netty.resolver.SimpleNameResolver
close, executor, resolve, resolve, resolveAll, resolveAll
-
Constructor Details
-
NettyDomainNameResolver
public NettyDomainNameResolver(io.netty.util.concurrent.EventExecutor executor, org.neo4j.driver.internal.DomainNameResolver domainNameResolver)
-
-
Method Details
-
doResolve
- Specified by:
doResolve
in classio.netty.resolver.SimpleNameResolver<InetAddress>
-
doResolveAll
protected void doResolveAll(String inetHost, io.netty.util.concurrent.Promise<List<InetAddress>> promise) - Specified by:
doResolveAll
in classio.netty.resolver.SimpleNameResolver<InetAddress>
-