Interface ServiceHealth


public interface ServiceHealth
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<URI>
    The health enpoint exposed by the service.
    default Map<String,String>
    Gets a key/value metadata associated with the service.
    default boolean
    States if the service is healthy or not
  • Method Details

    • getMetadata

      default Map<String,String> getMetadata()
      Gets a key/value metadata associated with the service.
    • isHealthy

      default boolean isHealthy()
      States if the service is healthy or not
    • getEndpoint

      default Optional<URI> getEndpoint()
      The health enpoint exposed by the service.