public class CouchbaseReactiveHealthIndicator extends AbstractReactiveHealthIndicator
ReactiveHealthIndicator
for Couchbase.Constructor and Description |
---|
CouchbaseReactiveHealthIndicator(com.couchbase.client.java.Cluster cluster)
Create a new
CouchbaseReactiveHealthIndicator instance. |
Modifier and Type | Method and Description |
---|---|
protected reactor.core.publisher.Mono<Health> |
doHealthCheck(Health.Builder builder)
Actual health check logic.
|
health
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHealth
adapt
public CouchbaseReactiveHealthIndicator(com.couchbase.client.java.Cluster cluster)
CouchbaseReactiveHealthIndicator
instance.cluster
- the Couchbase clusterprotected reactor.core.publisher.Mono<Health> doHealthCheck(Health.Builder builder)
AbstractReactiveHealthIndicator
doHealthCheck
in class AbstractReactiveHealthIndicator
builder
- the Health.Builder
to report health status and detailsMono
that provides the Health
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.