Package io.servicetalk.health.v1
Interface Health.BlockingCheckRpc
- All Superinterfaces:
AutoCloseable
,BlockingGrpcService
,GracefulAutoCloseable
- All Known Subinterfaces:
Health.BlockingHealthService
- Enclosing class:
- Health
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheck
(GrpcServiceContext ctx, HealthCheckRequest request) If the requested service is unknown, the call will fail with status NOT_FOUND.Methods inherited from interface io.servicetalk.grpc.api.BlockingGrpcService
close
Methods inherited from interface io.servicetalk.concurrent.GracefulAutoCloseable
closeGracefully
-
Field Details
-
PATH
Deprecated.UsemethodDescriptor()
.- See Also:
-
-
Method Details
-
methodDescriptor
-
check
If the requested service is unknown, the call will fail with status NOT_FOUND.
- Parameters:
ctx
- context associated with this service and request.request
- the request from the client.- Returns:
- the response to send to the client
- Throws:
Exception
- if an unexpected application error occurs.GrpcStatusException
- if an expected application exception occurs. Its contents will be serialized and propagated to the peer.
-
methodDescriptor()
.