Class EurekaHealthIndicator

java.lang.Object
io.micronaut.discovery.eureka.health.EurekaHealthIndicator
All Implemented Interfaces:
io.micronaut.core.order.Ordered, io.micronaut.management.health.indicator.HealthIndicator

@Singleton @Requires(classes=io.micronaut.management.health.indicator.HealthIndicator.class) @Requires(beans=EurekaClient.class) public class EurekaHealthIndicator extends Object implements io.micronaut.management.health.indicator.HealthIndicator
A HealthIndicator for Eureka.
Since:
1.0
Author:
Graeme Rocher
  • Field Summary

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

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult>
     

    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 Details

    • EurekaHealthIndicator

      public EurekaHealthIndicator(EurekaClient eurekaClient)
      Parameters:
      eurekaClient - The Eureka client
  • Method Details

    • getResult

      public org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult> getResult()
      Specified by:
      getResult in interface io.micronaut.management.health.indicator.HealthIndicator