Class DatastoreHealthIndicator

java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
com.google.cloud.spring.autoconfigure.datastore.health.DatastoreHealthIndicator
All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor, org.springframework.boot.actuate.health.HealthIndicator

@Component public class DatastoreHealthIndicator extends org.springframework.boot.actuate.health.AbstractHealthIndicator
A simple implementation of a HealthIndicator returning status information for Google Cloud Datastore.
Since:
1.2
  • Constructor Summary

    Constructors
    Constructor
    Description
    DatastoreHealthIndicator constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder)
     

    Methods inherited from class org.springframework.boot.actuate.health.AbstractHealthIndicator

    health

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.boot.actuate.health.HealthIndicator

    getHealth
  • Constructor Details

    • DatastoreHealthIndicator

      public DatastoreHealthIndicator(DatastoreProvider datastore)
      DatastoreHealthIndicator constructor.
      Parameters:
      datastore - Datastore supplier
  • Method Details

    • doHealthCheck

      protected void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder)
      Specified by:
      doHealthCheck in class org.springframework.boot.actuate.health.AbstractHealthIndicator