Interface AddressResolverConfiguration
-
public interface AddressResolverConfiguration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcacheMaxTimeToLive()The maximum amount of time in seconds that a successfully resolved address will be cached.intcacheMinTimeToLive()The minimum amount of time in seconds that a successfully resolved address will be cached.intcacheNegativeTimeToLive()The amount of time in seconds that an unsuccessful attempt to resolve an address will be cached.intmaxQueries()The maximum number of queries to be sent during a resolution.DurationqueryTimeout()The duration after which a DNS query is considered to be failed.
-
-
-
Method Detail
-
cacheMaxTimeToLive
@WithDefault("2147483647") 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
@WithDefault("0") int cacheMinTimeToLive()The minimum amount of time in seconds that a successfully resolved address will be cached.
-
cacheNegativeTimeToLive
@WithDefault("0") int cacheNegativeTimeToLive()The amount of time in seconds that an unsuccessful attempt to resolve an address will be cached.
-
maxQueries
@WithDefault("4") int maxQueries()The maximum number of queries to be sent during a resolution.
-
queryTimeout
@WithDefault("5S") Duration queryTimeout()The duration after which a DNS query is considered to be failed.
-
-