Make DnsNameResolver.cnameCache() public (#11520)
Motivation: Users may want to clear the cache manually. For this it should be possible to access it first. Modifications: Change the visibility to public Result: Be able to clear the cache manually. Related to https://github.com/netty/netty/issues/11519
This commit is contained in:
parent
e1be815a94
commit
412af40f5d
@ -576,7 +576,7 @@ public class DnsNameResolver extends InetNameResolver {
|
||||
/**
|
||||
* Returns the {@link DnsCnameCache}.
|
||||
*/
|
||||
DnsCnameCache cnameCache() {
|
||||
public DnsCnameCache cnameCache() {
|
||||
return cnameCache;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user