public class CouchbaseHealthIndicator extends AbstractHealthIndicator
HealthIndicator
for Couchbase.Constructor and Description |
---|
CouchbaseHealthIndicator(org.springframework.data.couchbase.core.CouchbaseOperations couchbaseOperations)
Deprecated.
as of 2.0.5 in favour of
CouchbaseHealthIndicator(CouchbaseOperations, Duration) |
CouchbaseHealthIndicator(org.springframework.data.couchbase.core.CouchbaseOperations couchbaseOperations,
Duration timeout)
Create an indicator with the specified
CouchbaseOperations and
timeout . |
Modifier and Type | Method and Description |
---|---|
protected void |
doHealthCheck(Health.Builder builder)
Actual health check logic.
|
health
public CouchbaseHealthIndicator(org.springframework.data.couchbase.core.CouchbaseOperations couchbaseOperations, Duration timeout)
CouchbaseOperations
and
timeout
.couchbaseOperations
- the couchbase operationstimeout
- the request timeout@Deprecated public CouchbaseHealthIndicator(org.springframework.data.couchbase.core.CouchbaseOperations couchbaseOperations)
CouchbaseHealthIndicator(CouchbaseOperations, Duration)
CouchbaseOperations
.couchbaseOperations
- the couchbase operationsprotected void doHealthCheck(Health.Builder builder) throws Exception
AbstractHealthIndicator
doHealthCheck
in class AbstractHealthIndicator
builder
- the Health.Builder
to report health status and detailsException
- any Exception
that should create a Status.DOWN
system status.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.