From 08f655d06ab0b027cb0c1e556fcb762d43ace5c9 Mon Sep 17 00:00:00 2001 From: Andy Stark Date: Tue, 18 Nov 2025 11:21:37 +0000 Subject: [PATCH] DOC-5954 updated LagAwareStrategy config plus class name fix --- content/develop/clients/jedis/failover.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/content/develop/clients/jedis/failover.md b/content/develop/clients/jedis/failover.md index 47cc0839f..fe0d4ee53 100644 --- a/content/develop/clients/jedis/failover.md +++ b/content/develop/clients/jedis/failover.md @@ -276,7 +276,7 @@ MultiDbClient client = MultiDbClient.builder() ## Health check configuration There are several strategies available for health checks that you can configure using the -`MultiClusterClientConfig` builder. The sections below explain these strategies +`MultiDbConfig` builder. The sections below explain these strategies in more detail. ### `PingStrategy` (default) @@ -320,6 +320,16 @@ MultiDbConfig.DatabaseConfig dbConfig = .build(); ``` +The `LagAwareStrategy.Config` builder has the following options: + +| Builder method | Default value | Description| +| --- | --- | --- | +| `sslOptions()` | `null` | Standard SSL options for connecting to the REST API. | +| `interval()` | `5000` | Interval in milliseconds between health checks. | +| `timeout()` | `3000` | Timeout in milliseconds for health check requests. | +| `extendedCheckEnabled()` | `false` | Enable extended lag checking (this includes lag validation in addition to the standard datapath validation). | +| `availabilityLagTolerance()` | `100` | Maximum lag tolerance in milliseconds for extended lag checking. | + ### Custom health check strategy You can supply your own custom health check strategy by