Package io.camunda.zeebe.gateway.health
Interface GatewayHealthManager
- All Known Implementing Classes:
GatewayHealthManagerImpl
public interface GatewayHealthManager
-
Method Summary
Modifier and TypeMethodDescriptionio.grpc.BindableServiceThis method return the GRPCBindableServiceto use it in theServerBuilderThis method returns the latest health status for the gateway, and is thread safe.voidThis 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
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 GRPCBindableServiceto use it in theServerBuilder- Returns:
- the bindable GRPC service
-