NameResolverProvider will produce DnsAddressResolverGroup.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Supplier | |
| pack-priv final Duration | |
| pack-priv final Duration | |
| pack-priv final Duration | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final Function | |
| pack-priv final HostsFileEntriesResolver | |
| pack-priv final DnsQueryLifecycleObserverFactory | |
| pack-priv final LoopResources | |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final boolean | |
| pack-priv final Duration | |
| pack-priv final DnsCache | |
| pack-priv final ResolvedAddressTypes | |
| pack-priv final boolean | |
| pack-priv final Iterable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Supplier | Returns: the configured supplier of local address to bind to or nullReturns the configured supplier of local address to bind to or null. |
| public static NameResolverProvider. | Returns: a newNameResolverProvider.Creates a builder for |
| public Duration | Returns: the configured max time to live of the cached DNS resource recordsReturns the configured max time to live of the cached DNS resource records. |
| public Duration | Returns: the configured min time to live of the cached DNS resource recordsReturns the configured min time to live of the cached DNS resource records. |
| public Duration | Returns: the configured time to live of the cache for the failed DNS queriesReturns the configured time to live of the cache for the failed DNS queries. |
| public Function | Returns: the configured custom provider ofDnsAddressResolverGroup or nullReturns the configured custom provider of |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int | |
| public HostsFileEntriesResolver | Returns: the configured customHostsFileEntriesResolver to be used for hosts file entries or nullReturns the configured custom |
| public boolean | Returns: true if the resolver notifies the returned Future as
soon as all queries for the preferred address type are completeReturns |
| public boolean | Returns: true if an optional record inclusion is disabledReturns |
| public boolean | Returns: true if recursion desired is disabledReturns |
| public boolean | Returns: true if prefer native event loop and channel factory (e.g. epoll or kqueue)Returns |
| public boolean | Returns: true ifRoundRobinDnsAddressResolverGroup is in useReturns true if |
| public LoopResources | Returns: the configuredLoopResources or nullReturns the configured |
| public int | Returns: the configured capacity of the datagram packet buffer.Returns the configured capacity of the datagram packet buffer. |
| public int | Returns: the configured maximum allowed number of DNS queries to send when resolving a host nameReturns the configured maximum allowed number of DNS queries to send when resolving a host name. |
| public int | Returns: the number of dots which must appear in a name before an initial absolute query is madeReturns the number of dots which must appear in a name before an initial absolute query is made. |
| public DnsAddressResolverGroup | Returns: a newDnsAddressResolverGroupthe default defaultLoopResources, boolean defaultPreferNative)LoopResources when LoopResources is not specifiedProvides a new |
| public Duration | Returns: the configured timeout of each DNS query performed by this resolverReturns the configured timeout of each DNS query performed by this resolver. |
| public DnsCache | Returns: the configured DNS resolver cache or nullReturns the configured DNS resolver cache or null. |
| public ResolvedAddressTypes | Returns: the configured list of the protocol families of the address resolved or nullReturns the configured list of the protocol families of the address resolved or null. |
| public Iterable | Returns: the configured list of search domains of the resolver or nullReturns the configured list of search domains of the resolver or null. |