Interface HealthCheckedGrpcComponents
public interface HealthCheckedGrpcComponents
A collection of
components used to check the health
of a gRPC server.- Since:
- 4.1.0
- Author:
- Phillip Webb
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn the component that represents the overall server health ornullif no overall health should be reported.getService(String serviceName) Return the component for the service with the specified name ornullif the name is not known.Return the names of the services that contribute health checks.
-
Method Details
-
getServer
@Nullable HealthCheckedGrpcComponent getServer()Return the component that represents the overall server health ornullif no overall health should be reported.- Returns:
- the server component or
null
-
getServiceNames
-
getService
Return the component for the service with the specified name ornullif the name is not known.- Parameters:
serviceName- the name of the service- Returns:
- the service component or
null
-