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
f645982a94
commit
1b1df557bf
@ -563,7 +563,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