org.apache.hadoop.hbase.ipc
Class RegionCoprocessorRpcChannel
java.lang.Object
org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel
org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel
- All Implemented Interfaces:
- BlockingRpcChannel, RpcChannel
@InterfaceAudience.Private
public class RegionCoprocessorRpcChannel
- extends CoprocessorRpcChannel
Provides clients with an RPC connection to call coprocessor endpoint Service
s
against a given table region. An instance of this class may be obtained
by calling HTable.coprocessorService(byte[])
,
but should normally only be used in creating a new Service
stub to call the endpoint
methods.
- See Also:
HTable.coprocessorService(byte[])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegionCoprocessorRpcChannel
public RegionCoprocessorRpcChannel(HConnection conn,
TableName table,
byte[] row,
RpcRetryingCallerFactory rpcFactory,
RpcControllerFactory rpcControllerFactory)
callExecService
protected Message callExecService(Descriptors.MethodDescriptor method,
Message request,
Message responsePrototype)
throws IOException
- Specified by:
callExecService
in class CoprocessorRpcChannel
- Throws:
IOException
getLastRegion
public byte[] getLastRegion()
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.