Class CassandraDriverReactiveHealthIndicator
java.lang.Object
org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
org.springframework.boot.cassandra.health.CassandraDriverReactiveHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.health.contributor.ReactiveHealthContributor, org.springframework.boot.health.contributor.ReactiveHealthIndicator
public class CassandraDriverReactiveHealthIndicator
extends org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
Simple implementation of a
ReactiveHealthIndicator returning status information
for Cassandra data stores.- Since:
- 4.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCassandraDriverReactiveHealthIndicator(com.datastax.oss.driver.api.core.CqlSession session) Create a newCassandraDriverReactiveHealthIndicatorinstance. -
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
-
CassandraDriverReactiveHealthIndicator
public CassandraDriverReactiveHealthIndicator(com.datastax.oss.driver.api.core.CqlSession session) Create a newCassandraDriverReactiveHealthIndicatorinstance.- Parameters:
session- theCqlSession.
-
-
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
-