Example usage for Java io.vertx.core.dns AddressResolverOptions fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | DEFAULT_OPT_RESOURCE_ENABLED The default value for #setOptResourceEnabled = true |
int | DEFAULT_CACHE_MIN_TIME_TO_LIVE The default value for the negative cache min TTL = 0 |
int | DEFAULT_CACHE_MAX_TIME_TO_LIVE The default value for the negative cache max TTL = 0x7fffffff |
int | DEFAULT_CACHE_NEGATIVE_TIME_TO_LIVE The default value for the negative cache TTL = 0 |
int | DEFAULT_QUERY_TIMEOUT The default value for the query timeout in millis = 5000 |
int | DEFAULT_MAX_QUERIES The default value for the max dns queries per query = 4 |
boolean | DEFAULT_RD_FLAG The default value of the rd flag = true |
List | DEFAULT_SEACH_DOMAINS The default value of search domains = null |
boolean | DEFAULT_ROTATE_SERVERS The default servers rotate value = loads the value from the OS on Linux otherwise use the value false |
AddressResolverOptions() | |
AddressResolverOptions(AddressResolverOptions other) | |
AddressResolverOptions(JsonObject json) |
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 | 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 -1 which determines the value from the OS on Linux or uses the value 1 . |
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 to true to enable round-robin selection of the dns server to use. |
AddressResolverOptions | setSearchDomains(List Set the lists of DNS search domains. |
AddressResolverOptions | setServers(List 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.g 8.8.8.8 or {code 192.168.0.1:40000}. |