Interface HealthCheckRepository

  • All Superinterfaces:
    HasId

    public interface HealthCheckRepository
    extends HasId
    A repository for health checks.
    • Method Detail

      • isEnabled

        boolean isEnabled()
        Set if the checks associated to this repository is enabled or not.
      • setEnabled

        void setEnabled​(boolean enabled)
        Set if the checks associated to this repository is enabled or not.
      • getCheck

        default Optional<HealthCheck> getCheck​(String id)
        Returns the check identified by the given id if available.