Class KubFlyHealthIndicator

java.lang.Object
io.kubfly.sdk.micronaut.KubFlyHealthIndicator
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(condition=Switches.Health.class) public final class KubFlyHealthIndicator extends Object implements io.micronaut.management.health.indicator.HealthIndicator
The checks of KubFly in the health of Micronaut (/health, kubfly): CRITICAL is DOWN, WARNING is UP with the warning in the details, a check that has not run yet is UNKNOWN. The indicators of Micronaut that KubFly runs itself (ManagementHealth) are not repeated.
  • Field Summary

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

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    An indicator.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult>
    The last results of the checks of KubFly.

    Methods inherited from class Object

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

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

    getOrder
  • Constructor Details

    • KubFlyHealthIndicator

      public KubFlyHealthIndicator()
      An indicator.
  • Method Details

    • getResult

      public org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult> getResult()
      The last results of the checks of KubFly.
      Specified by:
      getResult in interface io.micronaut.management.health.indicator.HealthIndicator
      Returns:
      the result