@Configuration
@ConditionalOnClass(value={com.datastax.driver.core.Cluster.class,org.springframework.data.cassandra.core.CassandraOperations.class})
@ConditionalOnBean(value=org.springframework.data.cassandra.core.CassandraOperations.class)
@ConditionalOnEnabledHealthIndicator(value="cassandra")
@AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class)
@AutoConfigureAfter(value={CassandraAutoConfiguration.class,CassandraDataAutoConfiguration.class,CassandraReactiveHealthIndicatorAutoConfiguration.class})
public class CassandraHealthIndicatorAutoConfiguration
extends CompositeHealthIndicatorConfiguration<CassandraHealthIndicator,org.springframework.data.cassandra.core.CassandraOperations>
- Since:
- 2.1.0
- Author:
- Julien Dubois, Stephane Nicoll