Interface ApplicationStatusProvider

All Known Implementing Classes:
ActuatorHealthApplicationStatusProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ApplicationStatusProvider
Provides the current health of the application represented in Consul's Check.CheckStatus so that it can then be sent to Consul TTL checks.
Author:
Chris Bono
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.cloud.consul.model.http.health.Check.CheckStatus
     
  • Method Details

    • currentStatus

      org.springframework.cloud.consul.model.http.health.Check.CheckStatus currentStatus()
      Returns:
      the current health of the application