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
    com.ecwid.consul.v1.health.model.Check.CheckStatus
     
  • Method Details

    • currentStatus

      com.ecwid.consul.v1.health.model.Check.CheckStatus currentStatus()
      Returns:
      the current health of the application