Interface HealthCheckedGrpcComponent
public interface HealthCheckedGrpcComponent
A single gRPC component that can be checked for health.
- Since:
- 4.1.0
- Author:
- Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionReturns the status aggregator that should be used for this component.Returns theStatusMapperthat should be used for this component.booleanReturnstrueif the given health contributor is a member of this component.
-
Method Details
-
isMember
Returnstrueif the given health contributor is a member of this component.- Parameters:
healthContributorName- the contributor name- Returns:
trueif the contributor is a member
-
getStatusAggregator
StatusAggregator getStatusAggregator()Returns the status aggregator that should be used for this component.- Returns:
- the status aggregator
-
getStatusMapper
StatusMapper getStatusMapper()Returns theStatusMapperthat should be used for this component.- Returns:
- the status mapper
-