@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class CoprocessorRpcChannel extends Object implements RpcChannel, BlockingRpcChannel
Service
s. Note that clients should not use this class
directly, except through
HTableInterface.coprocessorService(byte[])
.Constructor and Description |
---|
CoprocessorRpcChannel() |
Modifier and Type | Method and Description |
---|---|
Message |
callBlockingMethod(Descriptors.MethodDescriptor method,
RpcController controller,
Message request,
Message responsePrototype) |
protected abstract Message |
callExecService(Descriptors.MethodDescriptor method,
Message request,
Message responsePrototype) |
void |
callMethod(Descriptors.MethodDescriptor method,
RpcController controller,
Message request,
Message responsePrototype,
RpcCallback<Message> callback) |
@InterfaceAudience.Private public void callMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype, RpcCallback<Message> callback)
callMethod
in interface RpcChannel
@InterfaceAudience.Private public Message callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype) throws ServiceException
callBlockingMethod
in interface BlockingRpcChannel
ServiceException
protected abstract Message callExecService(Descriptors.MethodDescriptor method, Message request, Message responsePrototype) throws IOException
IOException
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.