Uses of Class
io.vertx.core.dns.AddressResolverOptions
Packages that use AddressResolverOptions
-
Uses of AddressResolverOptions in io.vertx.core
Methods in io.vertx.core that return AddressResolverOptionsMethods in io.vertx.core with parameters of type AddressResolverOptionsModifier and TypeMethodDescriptionVertxOptions.setAddressResolverOptions(AddressResolverOptions addressResolverOptions) Sets the address resolver configuration to configure resolving DNS servers, cache TTL, etc... -
Uses of AddressResolverOptions in io.vertx.core.dns
Methods in io.vertx.core.dns that return AddressResolverOptionsModifier and TypeMethodDescriptionAddressResolverOptions.addSearchDomain(String searchDomain) Add a DNS search domain.Add a DNS server address.AddressResolverOptions.setCacheMaxTimeToLive(int cacheMaxTimeToLive) Set the cache maximum TTL value in seconds.AddressResolverOptions.setCacheMinTimeToLive(int cacheMinTimeToLive) Set the cache minimum TTL value in seconds.AddressResolverOptions.setCacheNegativeTimeToLive(int cacheNegativeTimeToLive) Set the negative cache TTL value in seconds.AddressResolverOptions.setHostsPath(String hostsPath) Set the path of an alternate hosts configuration file to use instead of the one provided by the os.AddressResolverOptions.setHostsRefreshPeriod(int hostsRefreshPeriod) Set the hosts configuration refresh period in time unit specified byAddressResolverOptions.getHostsRefreshPeriodUnit(),0disables it.AddressResolverOptions.setHostsRefreshPeriodUnit(TimeUnit hostsRefreshPeriodUnit) Set the hosts configuration refresh period time unit.AddressResolverOptions.setHostsValue(Buffer hostsValue) Set an alternate hosts configuration file to use instead of the one provided by the os.AddressResolverOptions.setMaxQueries(int maxQueries) Set the maximum number of queries when an hostname is resolved.AddressResolverOptions.setNdots(int ndots) Set the ndots value used when resolving using search domains, the default value is-1which determines the value from the OS on Linux or uses the value1.AddressResolverOptions.setOptResourceEnabled(boolean optResourceEnabled) Set to true to enable the automatic inclusion in DNS queries of an optional record that hints the remote DNS server about how much data the resolver can read per response.AddressResolverOptions.setQueryTimeout(long queryTimeout) Set the query timeout in milliseconds, i.e the amount of time after a query is considered to be failed.AddressResolverOptions.setRdFlag(boolean rdFlag) Set the DNS queries Recursion Desired flag value.AddressResolverOptions.setRotateServers(boolean rotateServers) Set totrueto enable round-robin selection of the dns server to use.AddressResolverOptions.setRoundRobinInetAddress(boolean roundRobinInetAddress) Set totrueto enable round-robin inet address selection of the ip address to use.AddressResolverOptions.setSearchDomains(List<String> searchDomains) Set the lists of DNS search domains.AddressResolverOptions.setServers(List<String> servers) Set the list of DNS server addresses, an address is the IP of the dns server, followed by an optional colon and a port, e.g8.8.8.8or {code 192.168.0.1:40000}.Constructors in io.vertx.core.dns with parameters of type AddressResolverOptions -
Uses of AddressResolverOptions in io.vertx.core.spi.dns
Methods in io.vertx.core.spi.dns with parameters of type AddressResolverOptionsModifier and TypeMethodDescriptionstatic AddressResolverProviderAddressResolverProvider.factory(Vertx vertx, AddressResolverOptions options) AddressResolverProvider.resolver(AddressResolverOptions options)