@Configuration @ConditionalOnClass(value={org.springframework.data.cassandra.core.CassandraOperations.class,com.datastax.driver.core.Cluster.class}) @ConditionalOnBean(value=org.springframework.data.cassandra.core.CassandraOperations.class) @ConditionalOnEnabledHealthIndicator(value="cassandra") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value={CassandraAutoConfiguration.class,CassandraDataAutoConfiguration.class}) public class CassandraHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<CassandraHealthIndicator,org.springframework.data.cassandra.core.CassandraOperations>
Constructor and Description |
---|
CassandraHealthIndicatorAutoConfiguration(Map<String,org.springframework.data.cassandra.core.CassandraOperations> cassandraOperations) |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
cassandraHealthIndicator() |
createHealthIndicator, createHealthIndicator
@Bean @ConditionalOnMissingBean(name="cassandraHealthIndicator") public HealthIndicator cassandraHealthIndicator()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.