@Singleton @Requires(classes=io.micronaut.management.health.indicator.HealthIndicator.class) public class RedisHealthIndicator extends Object implements io.micronaut.management.health.indicator.HealthIndicator
Modifier and Type | Field and Description |
---|---|
static 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.api.StatefulRedisConnection... connections)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult> |
getResult() |
public static final String NAME
public RedisHealthIndicator(io.micronaut.context.BeanContext beanContext, io.micronaut.management.health.aggregator.HealthAggregator<?> healthAggregator, io.lettuce.core.api.StatefulRedisConnection... connections)
beanContext
- beanContexthealthAggregator
- healthAggregatorconnections
- connections