Interface HealthIndicator

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Functional SPI for reporting health of one component.
Since:
10.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Performs the health check.
    Probe categories where this indicator should run.
  • Method Details

    • check

      Performs the health check.
      Returns:
      Health result. Never null.
    • probes

      Probe categories where this indicator should run.

      Default is liveness + readiness.

      Returns:
      Probe categories. Never null.