@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") public static class HealthIndicatorAutoConfiguration.CassandraHealthIndicatorConfiguration extends CompositeHealthIndicatorConfiguration<CassandraHealthIndicator,org.springframework.data.cassandra.core.CassandraOperations>
Constructor and Description |
---|
CassandraHealthIndicatorConfiguration(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.