Class JobsHealthIndicator

  • All Implemented Interfaces:
    org.springframework.boot.actuate.health.HealthContributor, org.springframework.boot.actuate.health.HealthIndicator

    @Component
    public class JobsHealthIndicator
    extends Object
    implements org.springframework.boot.actuate.health.HealthIndicator
    Spring-Boot health indicator for job health.
    • Constructor Detail

      • JobsHealthIndicator

        public JobsHealthIndicator()
    • Method Detail

      • health

        public org.springframework.boot.actuate.health.Health health()
        Examines job executions and creates a health status based on them.
        Specified by:
        health in interface org.springframework.boot.actuate.health.HealthIndicator
        Returns:
        The Health with regard to job executions.