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

    Constructors
    Constructor
    Description
    CustomReactiveMongoHealthIndicator(org.springframework.data.mongodb.core.ReactiveMongoTemplate reactiveMongoTemplate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    health

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      doHealthCheck in class org.springframework.boot.actuate.health.AbstractReactiveHealthIndicator