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