Class DiscoveryClientHealthIndicator

    • Field Summary

      • Fields inherited from interface io.micronaut.core.order.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.reactivestreams.Publisher<HealthResult> getResult()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.micronaut.core.order.Ordered

        getOrder
    • Constructor Detail

      • DiscoveryClientHealthIndicator

        public DiscoveryClientHealthIndicator​(io.micronaut.discovery.DiscoveryClient discoveryClient)
        Parameters:
        discoveryClient - The Discovery client
    • Method Detail

      • getResult

        public org.reactivestreams.Publisher<HealthResult> getResult()
        Specified by:
        getResult in interface HealthIndicator
        Returns:
        A publisher that returns a HealthResult that provides the information necessary to build a response.