@InterfaceAudience.Public abstract class SyncCoprocessorRpcChannel extends Object implements CoprocessorRpcChannel
Service
s.
Note that clients should not use this class directly, except through
Table.coprocessorService(byte[])
.Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
SyncCoprocessorRpcChannel() |
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.Message |
callBlockingMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype) |
protected abstract com.google.protobuf.Message |
callExecService(com.google.protobuf.RpcController controller,
com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype) |
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> callback) |
private static final org.slf4j.Logger LOG
SyncCoprocessorRpcChannel()
@InterfaceAudience.Private public void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype, com.google.protobuf.RpcCallback<com.google.protobuf.Message> callback)
callMethod
in interface com.google.protobuf.RpcChannel
@InterfaceAudience.Private public com.google.protobuf.Message callBlockingMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype) throws com.google.protobuf.ServiceException
callBlockingMethod
in interface com.google.protobuf.BlockingRpcChannel
com.google.protobuf.ServiceException
protected abstract com.google.protobuf.Message callExecService(com.google.protobuf.RpcController controller, com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.