jdk/src/share/classes/java/net/InetAddress.java
changeset 23927 225d01ae6469
parent 21635 b938024653ca
child 24685 215fa91e1b4c
equal deleted inserted replaced
23926:ebade3f50c1f 23927:225d01ae6469
   157  *
   157  *
   158  * <blockquote>
   158  * <blockquote>
   159  * <dl>
   159  * <dl>
   160  * <dt><b>networkaddress.cache.ttl</b></dt>
   160  * <dt><b>networkaddress.cache.ttl</b></dt>
   161  * <dd>Indicates the caching policy for successful name lookups from
   161  * <dd>Indicates the caching policy for successful name lookups from
   162  * the name service. The value is specified as as integer to indicate
   162  * the name service. The value is specified as an integer to indicate
   163  * the number of seconds to cache the successful lookup. The default
   163  * the number of seconds to cache the successful lookup. The default
   164  * setting is to cache for an implementation specific period of time.
   164  * setting is to cache for an implementation specific period of time.
   165  * <p>
   165  * <p>
   166  * A value of -1 indicates "cache forever".
   166  * A value of -1 indicates "cache forever".
   167  * </dd>
   167  * </dd>
   168  * <dt><b>networkaddress.cache.negative.ttl</b> (default: 10)</dt>
   168  * <dt><b>networkaddress.cache.negative.ttl</b> (default: 10)</dt>
   169  * <dd>Indicates the caching policy for un-successful name lookups
   169  * <dd>Indicates the caching policy for un-successful name lookups
   170  * from the name service. The value is specified as as integer to
   170  * from the name service. The value is specified as an integer to
   171  * indicate the number of seconds to cache the failure for
   171  * indicate the number of seconds to cache the failure for
   172  * un-successful lookups.
   172  * un-successful lookups.
   173  * <p>
   173  * <p>
   174  * A value of 0 indicates "never cache".
   174  * A value of 0 indicates "never cache".
   175  * A value of -1 indicates "cache forever".
   175  * A value of -1 indicates "cache forever".