@Configuration @ConditionalOnClass(value=org.springframework.data.redis.connection.RedisConnectionFactory.class) @ConditionalOnBean(value=org.springframework.data.redis.connection.RedisConnectionFactory.class) @ConditionalOnEnabledHealthIndicator(value="redis") public static class HealthIndicatorAutoConfiguration.RedisHealthIndicatorConfiguration extends CompositeHealthIndicatorConfiguration<RedisHealthIndicator,org.springframework.data.redis.connection.RedisConnectionFactory>
Constructor and Description |
---|
RedisHealthIndicatorConfiguration(Map<String,org.springframework.data.redis.connection.RedisConnectionFactory> redisConnectionFactories) |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
redisHealthIndicator() |
createHealthIndicator, createHealthIndicator
@Bean @ConditionalOnMissingBean(name="redisHealthIndicator") public HealthIndicator redisHealthIndicator()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.