|
1 | 1 | <!DOCTYPE HTML> |
2 | 2 | <!-- |
3 | | - Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved. |
| 3 | + Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved. |
4 | 4 | DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 | 5 |
|
6 | 6 | This code is free software; you can redistribute it and/or modify it |
@@ -261,22 +261,22 @@ <H2>Address Cache</H2> |
261 | 261 | have to access the naming service. These properties allow for some |
262 | 262 | tuning on how the cache is operating.</P> |
263 | 263 | <UL> |
264 | | - <LI><P><B>{@systemProperty networkaddress.cache.ttl}</B> (default: see below)<BR> |
| 264 | + <LI><P><B>{@code networkaddress.cache.ttl}</B> (default: see below)<BR> |
265 | 265 | Value is an integer corresponding to the number of seconds successful |
266 | 266 | name lookups will be kept in the cache. A value of -1, or any other |
267 | 267 | negative value for that matter, indicates a “cache forever” |
268 | 268 | policy, while a value of 0 (zero) means no caching. The default value |
269 | 269 | is -1 (forever) if a security manager is installed, and implementation-specific |
270 | 270 | when no security manager is installed.</P> |
271 | | - <LI><P><B>{@systemProperty networkaddress.cache.negative.ttl}</B> (default: {@code 10})<BR> |
| 271 | + <LI><P><B>{@code networkaddress.cache.negative.ttl}</B> (default: {@code 10})<BR> |
272 | 272 | Value is an integer corresponding to the number of seconds an |
273 | 273 | unsuccessful name lookup will be kept in the cache. A value of -1, |
274 | 274 | or any negative value, means “cache forever”, while a |
275 | 275 | value of 0 (zero) means no caching.</P> |
276 | 276 | </UL> |
277 | 277 | <P>Since these 2 properties are part of the security policy, they are |
278 | 278 | not set by either the -D option or the {@code System.setProperty()} API, |
279 | | -instead they are set as security properties.</P> |
| 279 | +instead they are set as {@linkplain java.security.Security security} properties.</P> |
280 | 280 | <a id="Unixdomain"></a> |
281 | 281 | <H2>Unix domain sockets</H2> |
282 | 282 | <p> |
|
0 commit comments