Class BlogHealthIndicator

java.lang.Object
lv.id.jc.piglatin.actuator.BlogHealthIndicator
All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor, org.springframework.boot.actuate.health.HealthIndicator

@Component public class BlogHealthIndicator extends Object implements org.springframework.boot.actuate.health.HealthIndicator
  • Constructor Details

    • BlogHealthIndicator

      public BlogHealthIndicator(IntSupplier statusCodeSupplier, IntFunction<org.springframework.boot.actuate.health.Health> healthFunction)
  • Method Details

    • health

      public org.springframework.boot.actuate.health.Health health()
      Specified by:
      health in interface org.springframework.boot.actuate.health.HealthIndicator