Interface GatewayHealthManager

All Known Implementing Classes:
GatewayHealthManagerImpl

public interface GatewayHealthManager
  • Method Summary

    Modifier and Type
    Method
    Description
    io.grpc.BindableService
    This method return the GRPC BindableService to use it in the ServerBuilder
    This method returns the latest health status for the gateway, and is thread safe.
    void
    setStatus(Status status)
    This method sets the health status in a thread safe way.
  • Method Details

    • getStatus

      Status getStatus()
      This method returns the latest health status for the gateway, and is thread safe.
      Returns:
      the current health status
    • setStatus

      void setStatus(Status status)
      This method sets the health status in a thread safe way.
      Parameters:
      status - the new health status of the gateway
    • getHealthService

      io.grpc.BindableService getHealthService()
      This method return the GRPC BindableService to use it in the ServerBuilder
      Returns:
      the bindable GRPC service