Class DatastoreHealthIndicatorAutoConfiguration

java.lang.Object
com.google.cloud.spring.autoconfigure.datastore.health.DatastoreHealthIndicatorAutoConfiguration

@AutoConfiguration @ConditionalOnClass({com.google.cloud.datastore.Datastore.class,org.springframework.boot.actuate.health.HealthIndicator.class}) @ConditionalOnBean(value=com.google.cloud.datastore.Datastore.class, parameterizedContainer=java.util.function.Supplier.class) @ConditionalOnEnabledHealthIndicator("datastore") @AutoConfigureBefore(org.springframework.boot.actuate.autoconfigure.health.HealthContributorAutoConfiguration.class) @AutoConfigureAfter(GcpDatastoreAutoConfiguration.class) public class DatastoreHealthIndicatorAutoConfiguration extends Object
Auto-configuration for DatastoreHealthIndicator.
Since:
1.2
  • Constructor Details

    • DatastoreHealthIndicatorAutoConfiguration

      public DatastoreHealthIndicatorAutoConfiguration()
  • Method Details

    • datastoreHealthIndicator

      @Bean @ConditionalOnMissingBean public org.springframework.boot.actuate.health.HealthIndicator datastoreHealthIndicator(DatastoreProvider datastore)