org.apache.hadoop.hbase.ipc
Class ExecRPCInvoker

java.lang.Object
  extended by org.apache.hadoop.hbase.ipc.ExecRPCInvoker
All Implemented Interfaces:
InvocationHandler

public class ExecRPCInvoker
extends Object
implements InvocationHandler

Backs a CoprocessorProtocol subclass proxy and forwards method invocations for server execution. Note that internally this will issue a separate RPC call for each method invocation (using a ServerCallable instance).


Constructor Summary
ExecRPCInvoker(org.apache.hadoop.conf.Configuration conf, HConnection connection, Class<? extends CoprocessorProtocol> protocol, byte[] table, byte[] row)
           
 
Method Summary
 byte[] getRegionName()
           
 Object invoke(Object instance, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecRPCInvoker

public ExecRPCInvoker(org.apache.hadoop.conf.Configuration conf,
                      HConnection connection,
                      Class<? extends CoprocessorProtocol> protocol,
                      byte[] table,
                      byte[] row)
Method Detail

invoke

public Object invoke(Object instance,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

getRegionName

public byte[] getRegionName()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.