@InterfaceAudience.Private public class RegionServerCoprocessorRpcChannel extends CoprocessorRpcChannel
Service
s against a given region server. An instance of this class may
be obtained by calling HBaseAdmin.coprocessorService(ServerName)
,
but should normally only be used in creating a new Service
stub to
call the endpoint methods.Modifier and Type | Field and Description |
---|---|
private ClusterConnection |
connection |
private static org.apache.commons.logging.Log |
LOG |
private ServerName |
serverName |
Constructor and Description |
---|
RegionServerCoprocessorRpcChannel(ClusterConnection conn,
ServerName serverName) |
Modifier and Type | Method and Description |
---|---|
protected com.google.protobuf.Message |
callExecService(com.google.protobuf.RpcController controller,
com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype) |
callBlockingMethod, callMethod
private static final org.apache.commons.logging.Log LOG
private final ClusterConnection connection
private final ServerName serverName
public RegionServerCoprocessorRpcChannel(ClusterConnection conn, ServerName serverName)
protected com.google.protobuf.Message callExecService(com.google.protobuf.RpcController controller, com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype) throws IOException
callExecService
in class CoprocessorRpcChannel
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.