org.apache.hadoop.hbase.ipc
Class MasterExecRPCInvoker

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

public class MasterExecRPCInvoker
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.


Constructor Summary
MasterExecRPCInvoker(org.apache.hadoop.conf.Configuration conf, HConnection connection, Class<? extends CoprocessorProtocol> protocol)
           
 
Method Summary
 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

MasterExecRPCInvoker

public MasterExecRPCInvoker(org.apache.hadoop.conf.Configuration conf,
                            HConnection connection,
                            Class<? extends CoprocessorProtocol> protocol)
Method Detail

invoke

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


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