Java 类org.apache.hadoop.hbase.ipc.MasterExecRPCInvoker 实例源码

项目:IRIndex    文件:HBaseAdmin.java   
/**
 * Creates and returns a proxy to the CoprocessorProtocol instance running in the
 * master.
 *
 * @param protocol The class or interface defining the remote protocol
 * @return A CoprocessorProtocol instance
 */
public <T extends CoprocessorProtocol> T coprocessorProxy(
    Class<T> protocol) {
  return (T) Proxy.newProxyInstance(this.getClass().getClassLoader(),
      new Class[]{protocol},
      new MasterExecRPCInvoker(conf,
          connection,
          protocol));
}
项目:HBase-Research    文件:HBaseAdmin.java   
/**
 * Creates and returns a proxy to the CoprocessorProtocol instance running in the
 * master.
 *
 * @param protocol The class or interface defining the remote protocol
 * @return A CoprocessorProtocol instance
 */
public <T extends CoprocessorProtocol> T coprocessorProxy(
    Class<T> protocol) {
  return (T) Proxy.newProxyInstance(this.getClass().getClassLoader(),
      new Class[]{protocol},
      new MasterExecRPCInvoker(conf,
          connection,
          protocol));
}
项目:hbase-0.94.8-qod    文件:HBaseAdmin.java   
/**
 * Creates and returns a proxy to the CoprocessorProtocol instance running in the
 * master.
 *
 * @param protocol The class or interface defining the remote protocol
 * @return A CoprocessorProtocol instance
 */
public <T extends CoprocessorProtocol> T coprocessorProxy(
    Class<T> protocol) {
  return (T) Proxy.newProxyInstance(this.getClass().getClassLoader(),
      new Class[]{protocol},
      new MasterExecRPCInvoker(conf,
          connection,
          protocol));
}
项目:hbase-0.94.8-qod    文件:HBaseAdmin.java   
/**
 * Creates and returns a proxy to the CoprocessorProtocol instance running in the
 * master.
 *
 * @param protocol The class or interface defining the remote protocol
 * @return A CoprocessorProtocol instance
 */
public <T extends CoprocessorProtocol> T coprocessorProxy(
    Class<T> protocol) {
  return (T) Proxy.newProxyInstance(this.getClass().getClassLoader(),
      new Class[]{protocol},
      new MasterExecRPCInvoker(conf,
          connection,
          protocol));
}
项目:hindex    文件:HBaseAdmin.java   
/**
 * Creates and returns a proxy to the CoprocessorProtocol instance running in the
 * master.
 *
 * @param protocol The class or interface defining the remote protocol
 * @return A CoprocessorProtocol instance
 */
public <T extends CoprocessorProtocol> T coprocessorProxy(
    Class<T> protocol) {
  return (T) Proxy.newProxyInstance(this.getClass().getClassLoader(),
      new Class[]{protocol},
      new MasterExecRPCInvoker(conf,
          connection,
          protocol));
}
项目:LCIndex-HBase-0.94.16    文件:HBaseAdmin.java   
/**
 * Creates and returns a proxy to the CoprocessorProtocol instance running in the master.
 * @param protocol The class or interface defining the remote protocol
 * @return A CoprocessorProtocol instance
 */
public <T extends CoprocessorProtocol> T coprocessorProxy(Class<T> protocol) {
  return (T) Proxy.newProxyInstance(this.getClass().getClassLoader(), new Class[] { protocol },
    new MasterExecRPCInvoker(conf, connection, protocol));
}