public class DNSCache extends Object
| Constructor and Description |
|---|
DNSCache() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getCachedCanonicalHostNames() |
Collection<String> |
getCachedHostAddresses() |
Collection<String> |
getCachedHostNames() |
String |
getCanonicalHostName(InetAddress address) |
String |
getHostAddress(InetAddress address) |
String |
getHostName(InetAddress address) |
public String getHostName(InetAddress address)
public String getCanonicalHostName(InetAddress address)
public String getHostAddress(InetAddress address)
public Collection<String> getCachedHostNames()
public Collection<String> getCachedCanonicalHostNames()
public Collection<String> getCachedHostAddresses()
Copyright © 2022. All Rights Reserved.