Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion content/develop/clients/jedis/failover.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down