Package io.servicetalk.health.v1
Interface Health.CheckRpc
- All Superinterfaces:
AsyncCloseable
,GrpcService
- All Known Subinterfaces:
Health.HealthService
- All Known Implementing Classes:
DefaultHealthService
- 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.concurrent.api.AsyncCloseable
closeAsyncGracefully
Methods inherited from interface io.servicetalk.grpc.api.GrpcService
closeAsync
-
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:
- a
Single
which sends the response to the client when it terminates.
-
methodDescriptor()
.