-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Just like definitions at its interface:
lettuce/src/main/java/io/lettuce/core/resource/ClientResources.java
Lines 164 to 175 in cc9d240
/** | |
* Sets the {@link DnsResolver} that is used to resolve hostnames to {@link java.net.InetAddress}. Defaults to | |
* {@link DnsResolvers#UNRESOLVED} to use netty's {@link AddressResolverGroup}. | |
* | |
* @param dnsResolver the DNS resolver, must not be {@code null}. | |
* @return {@code this} {@link Builder}. | |
* @since 4.3 | |
* @deprecated since 6.1. Configure {@link AddressResolverGroup} instead. | |
*/ | |
@Deprecated | |
Builder dnsResolver(DnsResolver dnsResolver); |
The implementation method should be marked as deprecated to inform users to use the new settings.
public Builder dnsResolver(DnsResolver dnsResolver) { |
Metadata
Metadata
Assignees
Labels
No labels