Package org.apache.hadoop.hbase.client
Class RegionCoprocessorRpcChannelImpl
java.lang.Object
org.apache.hadoop.hbase.client.RegionCoprocessorRpcChannelImpl
- All Implemented Interfaces:
org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
- Direct Known Subclasses:
TableOverAsyncTable.RegionCoprocessorRpcChannel
@Private
class RegionCoprocessorRpcChannelImpl
extends Object
implements org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
The implementation of a region based coprocessor rpc channel.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AsyncConnectionImpl
private byte[]
private final long
private final RegionInfo
private final byte[]
private final long
private final TableName
-
Constructor Summary
ConstructorDescriptionRegionCoprocessorRpcChannelImpl
(AsyncConnectionImpl conn, TableName tableName, RegionInfo region, byte[] row, long rpcTimeoutNs, long operationTimeoutNs) -
Method Summary
Modifier and TypeMethodDescriptionvoid
callMethod
(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method, org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hbase.thirdparty.com.google.protobuf.Message request, org.apache.hbase.thirdparty.com.google.protobuf.Message responsePrototype, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hbase.thirdparty.com.google.protobuf.Message> done) byte[]
private CompletableFuture<org.apache.hbase.thirdparty.com.google.protobuf.Message>
rpcCall
(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method, org.apache.hbase.thirdparty.com.google.protobuf.Message request, org.apache.hbase.thirdparty.com.google.protobuf.Message responsePrototype, HBaseRpcController controller, HRegionLocation loc, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interface stub)
-
Field Details
-
conn
-
tableName
-
region
-
row
-
rpcTimeoutNs
-
operationTimeoutNs
-
lastRegion
-
-
Constructor Details
-
RegionCoprocessorRpcChannelImpl
RegionCoprocessorRpcChannelImpl(AsyncConnectionImpl conn, TableName tableName, RegionInfo region, byte[] row, long rpcTimeoutNs, long operationTimeoutNs)
-
-
Method Details
-
rpcCall
private CompletableFuture<org.apache.hbase.thirdparty.com.google.protobuf.Message> rpcCall(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method, org.apache.hbase.thirdparty.com.google.protobuf.Message request, org.apache.hbase.thirdparty.com.google.protobuf.Message responsePrototype, HBaseRpcController controller, HRegionLocation loc, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interface stub) -
callMethod
public void callMethod(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method, org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hbase.thirdparty.com.google.protobuf.Message request, org.apache.hbase.thirdparty.com.google.protobuf.Message responsePrototype, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hbase.thirdparty.com.google.protobuf.Message> done) - Specified by:
callMethod
in interfaceorg.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
-
getLastRegion
-