@InterfaceAudience.Private public class RegionCoprocessorRpcChannel extends CoprocessorRpcChannel
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.HTable.coprocessorService(byte[])
Constructor and Description |
---|
RegionCoprocessorRpcChannel(HConnection conn,
TableName table,
byte[] row,
RpcRetryingCallerFactory rpcFactory,
RpcControllerFactory rpcControllerFactory) |
Modifier and Type | Method and Description |
---|---|
protected Message |
callExecService(Descriptors.MethodDescriptor method,
Message request,
Message responsePrototype) |
byte[] |
getLastRegion() |
callBlockingMethod, callMethod
public RegionCoprocessorRpcChannel(HConnection conn, TableName table, byte[] row, RpcRetryingCallerFactory rpcFactory, RpcControllerFactory rpcControllerFactory)
protected Message callExecService(Descriptors.MethodDescriptor method, Message request, Message responsePrototype) throws IOException
callExecService
in class CoprocessorRpcChannel
IOException
public byte[] getLastRegion()
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.