Class CouchbaseHealthIndicator

java.lang.Object
org.springframework.boot.health.contributor.AbstractHealthIndicator
org.springframework.boot.couchbase.health.CouchbaseHealthIndicator
All Implemented Interfaces:
org.springframework.boot.health.contributor.HealthContributor, org.springframework.boot.health.contributor.HealthIndicator

public class CouchbaseHealthIndicator extends org.springframework.boot.health.contributor.AbstractHealthIndicator
HealthIndicator for Couchbase.
Since:
4.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    CouchbaseHealthIndicator(com.couchbase.client.java.Cluster cluster)
    Create an indicator with the specified Cluster.
  • Method Summary

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

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

    health

    Methods inherited from class Object

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

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

    health
  • Constructor Details

    • CouchbaseHealthIndicator

      public CouchbaseHealthIndicator(com.couchbase.client.java.Cluster cluster)
      Create an indicator with the specified Cluster.
      Parameters:
      cluster - the Couchbase Cluster
  • Method Details

    • doHealthCheck

      protected void doHealthCheck(org.springframework.boot.health.contributor.Health.Builder builder) throws Exception
      Specified by:
      doHealthCheck in class org.springframework.boot.health.contributor.AbstractHealthIndicator
      Throws:
      Exception