DnsNameResolverChannelStrategy Type — netty Architecture
Architecture documentation for the DnsNameResolverChannelStrategy type/interface in DnsNameResolverChannelStrategy.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 76d701e9_2460_016f_6ec3_e75a4b95ef86["DnsNameResolverChannelStrategy"] 57a3f4ef_0444_a3d3_a68a_bf85060671f5["DnsNameResolverChannelStrategy.java"] 76d701e9_2460_016f_6ec3_e75a4b95ef86 -->|defined in| 57a3f4ef_0444_a3d3_a68a_bf85060671f5 style 76d701e9_2460_016f_6ec3_e75a4b95ef86 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolverChannelStrategy.java lines 21–34
public enum DnsNameResolverChannelStrategy {
/**
* Use the same underlying {@link io.netty.channel.Channel} for all queries produced by a single
{@link DnsNameResolver} instance.
*/
ChannelPerResolver,
/**
* Use a new {@link io.netty.channel.Channel} per resolution or per explicit query. As of today this is similar
* to what the {@link io.netty.resolver.DefaultNameResolver} (JDK default) does. As we will need to open and close
* a new socket for each resolution it will come with a performance overhead. That said using this strategy should
* be the most robust and also guard against problems that can arise in kubernetes (or similar) setups.
*/
ChannelPerResolution
}
Source
Frequently Asked Questions
What is the DnsNameResolverChannelStrategy type?
DnsNameResolverChannelStrategy is a type/interface in the netty codebase, defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolverChannelStrategy.java.
Where is DnsNameResolverChannelStrategy defined?
DnsNameResolverChannelStrategy is defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolverChannelStrategy.java at line 21.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free