| Package | Description |
|---|---|
| io.lettuce.core.failover.event |
| Modifier and Type | Method and Description |
|---|---|
SwitchReason |
DatabaseSwitchEvent.getReason() |
static SwitchReason |
SwitchReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwitchReason[] |
SwitchReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
DatabaseSwitchEvent(SwitchReason reason,
RedisURI fromDb,
RedisURI toDb,
StatefulRedisMultiDbConnection<?,?> source) |
Copyright © 2026 lettuce.io. All rights reserved.