@FunctionalInterface
public static interface Health.CheckRpc
extends GrpcService
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH
Deprecated.
Use
methodDescriptor(). |
| Modifier and Type | Method and Description |
|---|---|
Single<HealthCheckResponse> |
check(GrpcServiceContext ctx,
HealthCheckRequest request)
If the requested service is unknown, the call will fail with status
NOT_FOUND.
|
static MethodDescriptor<HealthCheckRequest,HealthCheckResponse> |
methodDescriptor() |
@Deprecated static final String PATH
methodDescriptor().static MethodDescriptor<HealthCheckRequest,HealthCheckResponse> methodDescriptor()
Single<HealthCheckResponse> check(GrpcServiceContext ctx, HealthCheckRequest request)
If the requested service is unknown, the call will fail with status NOT_FOUND.
ctx - context associated with this service and request.request - the request from the client.Single which sends the response to the client when it terminates.