Class CassandraDriverReactiveHealthIndicator
java.lang.Object
org.springframework.boot.actuate.health.AbstractReactiveHealthIndicator
org.springframework.boot.actuate.cassandra.CassandraDriverReactiveHealthIndicator
- All Implemented Interfaces:
- ReactiveHealthContributor,- ReactiveHealthIndicator
Simple implementation of a 
ReactiveHealthIndicator returning status information
 for Cassandra data stores.- Since:
- 2.4.0
- Author:
- Alexandre Dutra, Tomasz Lelek
- 
Constructor SummaryConstructorsConstructorDescriptionCassandraDriverReactiveHealthIndicator(com.datastax.oss.driver.api.core.CqlSession session) Create a newCassandraDriverReactiveHealthIndicatorinstance.
- 
Method SummaryModifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Health>doHealthCheck(Health.Builder builder) Actual health check logic.Methods inherited from class org.springframework.boot.actuate.health.AbstractReactiveHealthIndicatorhealthMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.actuate.health.ReactiveHealthIndicatorgetHealth
- 
Constructor Details- 
CassandraDriverReactiveHealthIndicatorpublic CassandraDriverReactiveHealthIndicator(com.datastax.oss.driver.api.core.CqlSession session) Create a newCassandraDriverReactiveHealthIndicatorinstance.- Parameters:
- session- the- CqlSession.
 
 
- 
- 
Method Details- 
doHealthCheckDescription copied from class:AbstractReactiveHealthIndicatorActual health check logic. If an error occurs in the pipeline, it will be handled automatically.- Specified by:
- doHealthCheckin class- AbstractReactiveHealthIndicator
- Parameters:
- builder- the- Health.Builderto report health status and details
- Returns:
- a Monothat provides theHealth
 
 
-