You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -475,7 +473,7 @@ public ConfigBuilder withoutEncryption()
475
473
476
474
/**
477
475
* Specify how to determine the authenticity of an encryption certificate provided by the Neo4j instance we are connecting to. This defaults to {@link
478
-
* TrustStrategy#trustSystemCertificates()}. See {@link TrustStrategy#trustCustomCertificateSignedBy(File)} for using certificate signatures instead to
476
+
* TrustStrategy#trustSystemCertificates()}. See {@link TrustStrategy#trustCustomCertificateSignedBy(File...)} for using certificate signatures instead to
479
477
* verify trust.
480
478
* <p>
481
479
* This is an important setting to understand, because unless we know that the remote server we have an encrypted connection to is really Neo4j, there
@@ -493,86 +491,6 @@ public ConfigBuilder withTrustStrategy( TrustStrategy trustStrategy )
493
491
returnthis;
494
492
}
495
493
496
-
/**
497
-
* Specify how many times the client should attempt to reconnect to the routing servers before declaring the
498
-
* cluster unavailable.
499
-
* <p>
500
-
* The routing servers are tried in order. If connecting any of them fails, they are all retried after
501
-
* {@linkplain #withRoutingRetryDelay a delay}. This process of retrying all servers is then repeated for the
502
-
* number of times specified here before considering the cluster unavailable.
503
-
* <p>
504
-
* The default value of this parameter is {@code 1}, which means that the the driver will not re-attempt to
505
-
* connect to the cluster when connecting has failed to each individual server in the list of routers. This
506
-
* default value is sensible under this assumption that if the attempt to connect fails for all servers, then
507
-
* the entire cluster is down, or the client is disconnected from the network, and retrying to connect will
508
-
* not bring it back up, in which case it is better to report the failure sooner.
509
-
*
510
-
* @param routingFailureLimit
511
-
* the number of times to retry each server in the list of routing servers
512
-
* @return this builder
513
-
* @deprecated in 1.2 because driver memorizes seed URI used during construction and falls back to it at
514
-
* runtime when all other known router servers failed to respond. Driver is also able to perform DNS lookup
515
-
* for the seed URI during rediscovery. This means updates of cluster members will be picked up if they are
516
-
* reflected in a DNS record. This configuration allowed driver to retry rediscovery procedure and postpone
517
-
* failure. Currently there exists a better way of doing retries via
518
-
* {@link Session#readTransaction(TransactionWork)} and {@link Session#writeTransaction(TransactionWork)}.
519
-
* <b>Method will be removed in the next major release.</b>
0 commit comments