Class AddressResolverConfiguration
- java.lang.Object
-
- io.quarkus.vertx.core.runtime.config.AddressResolverConfiguration
-
public class AddressResolverConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description int
cacheMaxTimeToLive
The maximum amount of time in seconds that a successfully resolved address will be cached.int
cacheMinTimeToLive
The minimum amount of time in seconds that a successfully resolved address will be cached.int
cacheNegativeTimeToLive
The amount of time in seconds that an unsuccessful attempt to resolve an address will be cached.int
maxQueries
The maximum number of queries to be sent during a resolution.Duration
queryTimeout
The duration after which a DNS query is considered to be failed.
-
Constructor Summary
Constructors Constructor Description AddressResolverConfiguration()
-
-
-
Field Detail
-
cacheMaxTimeToLive
@ConfigItem(defaultValue="2147483647") public int cacheMaxTimeToLive
The maximum amount of time in seconds that a successfully resolved address will be cached.If not set explicitly, resolved addresses may be cached forever.
-
cacheMinTimeToLive
@ConfigItem(defaultValue="0") public int cacheMinTimeToLive
The minimum amount of time in seconds that a successfully resolved address will be cached.
-
cacheNegativeTimeToLive
@ConfigItem(defaultValue="0") public int cacheNegativeTimeToLive
The amount of time in seconds that an unsuccessful attempt to resolve an address will be cached.
-
maxQueries
@ConfigItem(defaultValue="4") public int maxQueries
The maximum number of queries to be sent during a resolution.
-
queryTimeout
@ConfigItem(defaultValue="5S") public Duration queryTimeout
The duration after which a DNS query is considered to be failed.
-
-