org.apache.hadoop.hbase.ipc
Class RegionServerCoprocessorRpcChannel
java.lang.Object
org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel
org.apache.hadoop.hbase.ipc.RegionServerCoprocessorRpcChannel
- All Implemented Interfaces:
- com.google.protobuf.BlockingRpcChannel, com.google.protobuf.RpcChannel
@InterfaceAudience.Private
public class RegionServerCoprocessorRpcChannel
- extends CoprocessorRpcChannel
Provides clients with an RPC connection to call coprocessor endpoint
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.
- See Also:
HBaseAdmin.coprocessorService(ServerName)
Method Summary |
protected com.google.protobuf.Message |
callExecService(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegionServerCoprocessorRpcChannel
public RegionServerCoprocessorRpcChannel(HConnection conn,
ServerName serverName)
callExecService
protected com.google.protobuf.Message callExecService(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype)
throws IOException
- Specified by:
callExecService
in class CoprocessorRpcChannel
- Throws:
IOException
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.