@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class CoprocessorRpcChannel extends Object implements com.google.protobuf.RpcChannel, com.google.protobuf.BlockingRpcChannel
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.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
CoprocessorRpcChannel() |
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) |
@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.