Interface HealthCheck.Result

  • Enclosing interface:
    HealthCheck

    public static interface HealthCheck.Result
    Response to a health check invocation.
    • Method Detail

      • getMessage

        Optional<String> getMessage()
        A message associated to the result, used to provide more information for unhealthy services.
      • getError

        Optional<Throwable> getError()
        An error associated to the result, used to provide the error associated to unhealthy services.
      • getDetails

        Map<String,​Object> getDetails()
        A key/value combination of details.
        Returns:
        a non null details map