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