Class CustomReactiveMongoHealthIndicator
java.lang.Object
org.springframework.boot.actuate.health.AbstractReactiveHealthIndicator
it.gov.pagopa.common.configuration.CustomReactiveMongoHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.ReactiveHealthContributor,org.springframework.boot.actuate.health.ReactiveHealthIndicator
public class CustomReactiveMongoHealthIndicator
extends org.springframework.boot.actuate.health.AbstractReactiveHealthIndicator
-
Constructor Summary
ConstructorsConstructorDescriptionCustomReactiveMongoHealthIndicator(org.springframework.data.mongodb.core.ReactiveMongoTemplate reactiveMongoTemplate) -
Method Summary
Modifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<org.springframework.boot.actuate.health.Health> doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) Methods inherited from class org.springframework.boot.actuate.health.AbstractReactiveHealthIndicator
healthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.actuate.health.ReactiveHealthIndicator
getHealth
-
Constructor Details
-
CustomReactiveMongoHealthIndicator
public CustomReactiveMongoHealthIndicator(org.springframework.data.mongodb.core.ReactiveMongoTemplate reactiveMongoTemplate)
-
-
Method Details
-
doHealthCheck
protected reactor.core.publisher.Mono<org.springframework.boot.actuate.health.Health> doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) - Specified by:
doHealthCheckin classorg.springframework.boot.actuate.health.AbstractReactiveHealthIndicator
-