@InterfaceAudience.Private class RegionCoprocessorRpcChannelImpl extends Object implements com.google.protobuf.RpcChannel
Modifier and Type | Field and Description |
---|---|
private AsyncConnectionImpl |
conn |
private long |
operationTimeoutNs |
private RegionInfo |
region |
private byte[] |
row |
private long |
rpcTimeoutNs |
private TableName |
tableName |
Constructor and Description |
---|
RegionCoprocessorRpcChannelImpl(AsyncConnectionImpl conn,
TableName tableName,
RegionInfo region,
byte[] row,
long rpcTimeoutNs,
long operationTimeoutNs) |
Modifier and Type | Method and Description |
---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
private CompletableFuture<com.google.protobuf.Message> |
rpcCall(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype,
HBaseRpcController controller,
HRegionLocation loc,
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interface stub) |
private final AsyncConnectionImpl conn
private final RegionInfo region
private final byte[] row
private final long rpcTimeoutNs
private final long operationTimeoutNs
RegionCoprocessorRpcChannelImpl(AsyncConnectionImpl conn, TableName tableName, RegionInfo region, byte[] row, long rpcTimeoutNs, long operationTimeoutNs)
private CompletableFuture<com.google.protobuf.Message> rpcCall(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype, HBaseRpcController controller, HRegionLocation loc, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interface stub)
public void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype, com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod
in interface com.google.protobuf.RpcChannel
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.