@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={com.datastax.driver.core.Cluster.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)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.