public class CassandraDriverReactiveHealthIndicator extends AbstractReactiveHealthIndicator
ReactiveHealthIndicator
returning status information
for Cassandra data stores.Constructor and Description |
---|
CassandraDriverReactiveHealthIndicator(com.datastax.oss.driver.api.core.CqlSession session)
Create a new
CassandraHealthIndicator 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 CassandraDriverReactiveHealthIndicator(com.datastax.oss.driver.api.core.CqlSession session)
CassandraHealthIndicator
instance.session
- the CqlSession
.protected 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