Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/**
* Show value of networkaddress.cache.ttl
*/
public class NetworkaddressCacheTtl {
public static void main(String[] args) {
System.out.println(
String.valueOf(
sun.net.InetAddressCachePolicy.get()
)
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.