@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={com.datastax.oss.driver.api.core.CqlSession.class,org.springframework.data.cassandra.core.ReactiveCassandraOperations.class,reactor.core.publisher.Flux.class}) @ConditionalOnBean(value=org.springframework.data.cassandra.core.ReactiveCassandraOperations.class) @ConditionalOnEnabledHealthIndicator(value="cassandra") @AutoConfigureAfter(value=CassandraReactiveDataAutoConfiguration.class) public class CassandraReactiveHealthContributorAutoConfiguration extends CompositeReactiveHealthContributorConfiguration<CassandraReactiveHealthIndicator,org.springframework.data.cassandra.core.ReactiveCassandraOperations>
Constructor and Description |
---|
CassandraReactiveHealthContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ReactiveHealthContributor |
cassandraHealthContributor(Map<String,org.springframework.data.cassandra.core.ReactiveCassandraOperations> reactiveCassandraOperations) |
createComposite
createContributor, createIndicator
public CassandraReactiveHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"cassandraHealthIndicator","cassandraHealthContributor"}) public ReactiveHealthContributor cassandraHealthContributor(Map<String,org.springframework.data.cassandra.core.ReactiveCassandraOperations> reactiveCassandraOperations)