| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
| Modifier and Type | Field and Description |
|---|---|
static MaintNotificationsConfig |
ClientOptions.DEFAULT_MAINT_NOTIFICATIONS_CONFIG |
protected static MaintNotificationsConfig |
ClientOptions.MAINT_NOTIFICATIONS_CONFIG_INITIAL |
| Modifier and Type | Method and Description |
|---|---|
MaintNotificationsConfig |
MaintNotificationsConfig.Builder.build() |
static MaintNotificationsConfig |
MaintNotificationsConfig.copyOf(MaintNotificationsConfig source)
Creates a copy of the given
MaintNotificationsConfig. |
static MaintNotificationsConfig |
MaintNotificationsConfig.create()
Create a new instance of
MaintNotificationsConfig with default settings. |
static MaintNotificationsConfig |
MaintNotificationsConfig.disabled()
Creates
MaintNotificationsConfig with disabled support for maintenance notifications. |
static MaintNotificationsConfig |
MaintNotificationsConfig.enabled()
Creates
MaintNotificationsConfig with enabled support for maintenance notifications. |
static MaintNotificationsConfig |
MaintNotificationsConfig.enabled(MaintNotificationsConfig.EndpointType endpointType)
Creates maintenance events options with a fixed address type.
|
MaintNotificationsConfig |
ClientOptions.getMaintNotificationsConfig()
Returns the
MaintNotificationsConfig to listen for server events that notify on current maintenance activities. |
| Modifier and Type | Method and Description |
|---|---|
static MaintNotificationsConfig |
MaintNotificationsConfig.copyOf(MaintNotificationsConfig source)
Creates a copy of the given
MaintNotificationsConfig. |
ClientOptions.Builder |
ClientOptions.Builder.maintNotificationsConfig(MaintNotificationsConfig maintNotificationsConfig)
Configure whether the driver should listen for server events that notify on current maintenance activities.
|
| Constructor and Description |
|---|
MaintNotificationsConfig(MaintNotificationsConfig original)
Copy constructor for creating a copy of an existing configuration.
|
Copyright © 2026 lettuce.io. All rights reserved.