@Configuration @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") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=CassandraReactiveDataAutoConfiguration.class) public class CassandraReactiveHealthIndicatorAutoConfiguration extends CompositeReactiveHealthIndicatorConfiguration<CassandraReactiveHealthIndicator,org.springframework.data.cassandra.core.ReactiveCassandraOperations>
Constructor and Description |
---|
CassandraReactiveHealthIndicatorAutoConfiguration(Map<String,org.springframework.data.cassandra.core.ReactiveCassandraOperations> reactiveCassandraOperations) |
Modifier and Type | Method and Description |
---|---|
ReactiveHealthIndicator |
cassandraHealthIndicator() |
createHealthIndicator, createHealthIndicator
@Bean @ConditionalOnMissingBean(name="cassandraHealthIndicator") public ReactiveHealthIndicator cassandraHealthIndicator()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.