Annotation Interface HealthCheck


@Retention(RUNTIME) @Documented @Target(TYPE) @ServiceFactory("health-check") public @interface HealthCheck
Marks a class as a custom health-check or health-check repository.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The ID of the health check.
  • Element Details

    • value

      String value
      The ID of the health check. Use -check as prefix for health checks, and use -repository as prefix for health-check repository. For example to use myfoo as the ID for a health-check, then set this value as myfoo-check.