Interface HealthChecker

All Known Subinterfaces:
ListenableHealthChecker
All Known Implementing Classes:
SettableHealthChecker
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface HealthChecker
Determines whether the Server is healthy. All registered HealthCheckers must return true for the Server to be considered healthy.
  • Method Summary

    Modifier and Type Method Description
    boolean isHealthy()
    Returns true if and only if the Server is healthy.
  • Method Details

    • isHealthy

      boolean isHealthy()
      Returns true if and only if the Server is healthy.