Class CouchbaseReactiveHealthIndicator
java.lang.Object
org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
org.springframework.boot.couchbase.health.CouchbaseReactiveHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.health.contributor.ReactiveHealthContributor, org.springframework.boot.health.contributor.ReactiveHealthIndicator
public class CouchbaseReactiveHealthIndicator
extends org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
A
ReactiveHealthIndicator for Couchbase.- Since:
- 4.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCouchbaseReactiveHealthIndicator(com.couchbase.client.java.Cluster cluster) Create a newCouchbaseReactiveHealthIndicatorinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<org.springframework.boot.health.contributor.Health> doHealthCheck(org.springframework.boot.health.contributor.Health.Builder builder) Methods inherited from class org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
healthMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.health.contributor.ReactiveHealthIndicator
asHealthContributor, health
-
Constructor Details
-
CouchbaseReactiveHealthIndicator
public CouchbaseReactiveHealthIndicator(com.couchbase.client.java.Cluster cluster) Create a newCouchbaseReactiveHealthIndicatorinstance.- Parameters:
cluster- the Couchbase cluster
-
-
Method Details
-
doHealthCheck
protected reactor.core.publisher.Mono<org.springframework.boot.health.contributor.Health> doHealthCheck(org.springframework.boot.health.contributor.Health.Builder builder) - Specified by:
doHealthCheckin classorg.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
-