@FunctionalInterface
public static interface Health.BlockingCheckRpc
extends BlockingGrpcService
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH
Deprecated.
Use
methodDescriptor(). |
| Modifier and Type | Method and Description |
|---|---|
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()
HealthCheckResponse check(GrpcServiceContext ctx, HealthCheckRequest request) throws Exception
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.Exception - if an unexpected application error occurs.GrpcStatusException - if an expected application exception occurs. Its contents will be serialized and propagated to the peer.