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
Copy file name to clipboardExpand all lines: content/develop/clients/lettuce/connect.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -254,3 +254,47 @@ public class Pool {
254
254
```
255
255
256
256
In this setup, `LettuceConnectionFactory` is a custom class you would need to implement, adhering to Apache Commons Pool's `PooledObjectFactory` interface, to manage lifecycle events of pooled `StatefulRedisConnection` objects.
257
+
258
+
## Connect using Seamless client experience (SCE)
259
+
260
+
*Seamless client experience (SCE)* is a feature of Redis Cloud and
261
+
Redis Enterprise servers that lets them actively notify clients
262
+
about planned server maintenance shortly before it happens. This
263
+
lets a client take action to avoid disruptions in service.
264
+
See [Seamless client experience]({{< relref "/develop/clients/sce" >}})
265
+
for more information about SCE.
266
+
267
+
To enable SCE on the client, create a `MaintenanceEventsOptions` object
268
+
and pass it to the `ClientOptions` builder using the `supportMaintenanceEvents()` method:
0 commit comments