@Experimental public interface RedisDatabase
| Modifier and Type | Method and Description |
|---|---|
CircuitBreaker.State |
getCircuitBreakerState()
Get the circuit breaker state for this database.
|
HealthStatus |
getHealthCheckStatus()
Get the health check status for this database.
|
String |
getId()
Get the unique ID for this database.
|
MetricsSnapshot |
getMetricsSnapshot()
Get the metrics snapshot for this database.
|
RedisURI |
getRedisURI()
Get the Redis URI for this database.
|
float |
getWeight()
Get the weight for endpoint priority.
|
boolean |
isHealthy()
Check if this database is healthy.
|
void |
setWeight(float weight)
Set the weight for endpoint priority.
|
String getId()
float getWeight()
void setWeight(float weight)
weight - the weightRedisURI getRedisURI()
MetricsSnapshot getMetricsSnapshot()
HealthStatus getHealthCheckStatus()
CircuitBreaker.State getCircuitBreakerState()
boolean isHealthy()
Copyright © 2026 lettuce.io. All rights reserved.