Create a gist now

Instantly share code, notes, and snippets.

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