@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 HealthIndicatorAutoConfiguration.CompositeHealthIndicatorConfiguration<CassandraHealthIndicator,org.springframework.data.cassandra.core.CassandraOperations>
Constructor and Description |
---|
CassandraHealthIndicatorConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
cassandraHealthIndicator() |
createHealthIndicator, createHealthIndicator
public CassandraHealthIndicatorConfiguration()
@Bean @ConditionalOnMissingBean(name="cassandraHealthIndicator") public HealthIndicator cassandraHealthIndicator()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.