@Configuration @ConditionalOnClass(value={org.springframework.data.redis.connection.ReactiveRedisConnectionFactory.class,reactor.core.publisher.Flux.class}) @ConditionalOnBean(value=org.springframework.data.redis.connection.ReactiveRedisConnectionFactory.class) @ConditionalOnEnabledHealthIndicator(value="redis") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=RedisReactiveAutoConfiguration.class) public class RedisReactiveHealthIndicatorAutoConfiguration extends CompositeReactiveHealthIndicatorConfiguration<RedisReactiveHealthIndicator,org.springframework.data.redis.connection.ReactiveRedisConnectionFactory>
Modifier and Type | Method and Description |
---|---|
ReactiveHealthIndicator |
redisHealthIndicator() |
createHealthIndicator, createHealthIndicator
@Bean @ConditionalOnMissingBean(name="redisHealthIndicator") public ReactiveHealthIndicator redisHealthIndicator()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.