@Singleton @Requires(classes=HealthIndicator.class) public class RedisHealthIndicator extends Object implements HealthIndicator
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Default name to use for health indication for Redis.
|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
RedisHealthIndicator(BeanContext beanContext,
HealthAggregator<?> healthAggregator,
io.lettuce.core.api.StatefulRedisConnection... connections)
Constructor.
|
public static final String NAME
public RedisHealthIndicator(BeanContext beanContext, HealthAggregator<?> healthAggregator, io.lettuce.core.api.StatefulRedisConnection... connections)
beanContext - beanContexthealthAggregator - healthAggregatorconnections - connectionspublic Publisher<HealthResult> getResult()
getResult in interface HealthIndicatorHealthResult that provides the
information necessary to build a response.