@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={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(value="datastore") @AutoConfigureBefore(value=org.springframework.boot.actuate.autoconfigure.health.HealthContributorAutoConfiguration.class) @AutoConfigureAfter(value=GcpDatastoreAutoConfiguration.class) public class DatastoreHealthIndicatorAutoConfiguration extends Object
Auto-configuration
for
DatastoreHealthIndicator
.Constructor and Description |
---|
DatastoreHealthIndicatorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.actuate.health.HealthIndicator |
datastoreHealthIndicator(DatastoreProvider datastore) |
public DatastoreHealthIndicatorAutoConfiguration()
@Bean @ConditionalOnMissingBean public org.springframework.boot.actuate.health.HealthIndicator datastoreHealthIndicator(DatastoreProvider datastore)
Copyright © 2021. All rights reserved.