Created
July 3, 2017 14:50
-
-
Save msysyamamoto/6fb0e42da6cb2aeb32da2cd2983f94b3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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