@Singleton
 @Requires(classes=io.micronaut.management.health.indicator.HealthIndicator.class) @Requires(property="redis.health.enabled",defaultValue="true",notEquals="false")
public class RedisHealthIndicator
extends java.lang.Object
implements io.micronaut.management.health.indicator.HealthIndicator
| Modifier and Type | Field and Description | 
|---|---|
static org.slf4j.Logger | 
LOG  | 
static java.lang.String | 
NAME
Default name to use for health indication for Redis. 
 | 
| Constructor and Description | 
|---|
RedisHealthIndicator(io.micronaut.context.BeanContext beanContext,
                    io.micronaut.management.health.aggregator.HealthAggregator<?> healthAggregator,
                    io.lettuce.core.RedisClient[] redisClients,
                    io.lettuce.core.cluster.RedisClusterClient[] redisClusterClients)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult> | 
getResult()  | 
public static final org.slf4j.Logger LOG
public static final java.lang.String NAME
public RedisHealthIndicator(io.micronaut.context.BeanContext beanContext,
                            io.micronaut.management.health.aggregator.HealthAggregator<?> healthAggregator,
                            io.lettuce.core.RedisClient[] redisClients,
                            io.lettuce.core.cluster.RedisClusterClient[] redisClusterClients)
beanContext - beanContexthealthAggregator - healthAggregatorredisClients - redisClientsredisClusterClients - redisClusterClients