org.apache.hadoop.hbase.ipc
Class CoprocessorRpcChannel
java.lang.Object
org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel
- All Implemented Interfaces:
- BlockingRpcChannel, RpcChannel
- Direct Known Subclasses:
- MasterCoprocessorRpcChannel, RegionCoprocessorRpcChannel, RegionServerCoprocessorRpcChannel
@InterfaceAudience.Public
@InterfaceStability.Evolving
public abstract class CoprocessorRpcChannel
- extends Object
- implements RpcChannel, BlockingRpcChannel
Base class which provides clients with an RPC connection to
call coprocessor endpoint Service
s. Note that clients should not use this class
directly, except through
HTableInterface.coprocessorService(byte[])
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoprocessorRpcChannel
public CoprocessorRpcChannel()
callMethod
@InterfaceAudience.Private
public void callMethod(Descriptors.MethodDescriptor method,
RpcController controller,
Message request,
Message responsePrototype,
RpcCallback<Message> callback)
- Specified by:
callMethod
in interface RpcChannel
callBlockingMethod
@InterfaceAudience.Private
public Message callBlockingMethod(Descriptors.MethodDescriptor method,
RpcController controller,
Message request,
Message responsePrototype)
throws ServiceException
- Specified by:
callBlockingMethod
in interface BlockingRpcChannel
- Throws:
ServiceException
callExecService
protected abstract Message callExecService(Descriptors.MethodDescriptor method,
Message request,
Message responsePrototype)
throws IOException
- Throws:
IOException
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.