|
279 | 279 | * See {@link MongoClientSettings.Builder#maxAdaptiveRetries(Integer)} for more information.</li> |
280 | 280 | * <li>{@code enableOverloadRetargeting=true|false}. If true the driver may route a request to a different server on a subsequent |
281 | 281 | * retry attempt if the previously used server is overloaded. Does not take effect for {@linkplain ClusterType#SHARDED sharded clusters}. |
282 | | - * Defaults to false.</li> //TODO-SSLAV add see |
| 282 | + * Defaults to false. See {@link MongoClientSettings.Builder#enableOverloadRetargeting(boolean)} for more information.</li> |
283 | 283 | * <li>{@code uuidRepresentation=unspecified|standard|javaLegacy|csharpLegacy|pythonLegacy}. See |
284 | 284 | * {@link MongoClientSettings#getUuidRepresentation()} for documentation of semantics of this parameter. Defaults to "javaLegacy", but |
285 | 285 | * will change to "unspecified" in the next major release.</li> |
@@ -1522,17 +1522,7 @@ public Integer getMaxAdaptiveRetries() { |
1522 | 1522 |
|
1523 | 1523 | /** |
1524 | 1524 | * Gets whether overload retargeting is enabled. |
1525 | | - * |
1526 | | - * <p>When enabled, the previously selected servers on which attempts failed with an error |
1527 | | - * {@linkplain MongoException#hasErrorLabel(String) having} |
1528 | | - * the {@value MongoException#SYSTEM_OVERLOADED_ERROR_LABEL} label may be deprioritized during |
1529 | | - * server selection on subsequent retry attempts. This applies to reads when retryReads is enabled, |
1530 | | - * and to writes when retryWrites is enabled.</p> |
1531 | | - * |
1532 | | - * <p>This setting does not take effect for |
1533 | | - * {@linkplain com.mongodb.connection.ClusterType#SHARDED sharded clusters}.</p> |
1534 | | - * |
1535 | | - * <p>Defaults to {@code false}.</p> |
| 1525 | + * See {@link MongoClientSettings.Builder#enableOverloadRetargeting(boolean)} for more information. |
1536 | 1526 | * |
1537 | 1527 | * @return the enableOverloadRetargeting value, or null if not set |
1538 | 1528 | * @see MongoClientSettings.Builder#enableOverloadRetargeting(boolean) |
|
0 commit comments