Class SpannerHealthIndicatorAutoConfiguration

java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<org.springframework.boot.actuate.health.HealthContributor,I,B>
org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<SpannerHealthIndicator,SpannerTemplate>
com.google.cloud.spring.autoconfigure.spanner.health.SpannerHealthIndicatorAutoConfiguration

@AutoConfiguration @ConditionalOnClass({SpannerTemplate.class,org.springframework.boot.actuate.health.HealthIndicator.class}) @ConditionalOnBean(SpannerTemplate.class) @ConditionalOnEnabledHealthIndicator("spanner") @AutoConfigureBefore(org.springframework.boot.actuate.autoconfigure.health.HealthContributorAutoConfiguration.class) @AutoConfigureAfter(GcpSpannerAutoConfiguration.class) @EnableConfigurationProperties(SpannerHealthIndicatorProperties.class) public class SpannerHealthIndicatorAutoConfiguration extends org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<SpannerHealthIndicator,SpannerTemplate>
Auto-configuration for SpannerHealthIndicator.
Since:
2.0.6
  • Constructor Details

  • Method Details

    • spannerHealthContributor

      @Bean @ConditionalOnMissingBean(name={"spannerHealthIndicator","spannerHealthContributor"}) public org.springframework.boot.actuate.health.HealthContributor spannerHealthContributor(Map<String,SpannerTemplate> spannerTemplates)