org.apache.hadoop.hive.metastore
Class RetryingMetaStoreClient

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.RetryingMetaStoreClient
All Implemented Interfaces:
InvocationHandler

public class RetryingMetaStoreClient
extends Object
implements InvocationHandler


Constructor Summary
protected RetryingMetaStoreClient(HiveConf hiveConf, HiveMetaHookLoader hookLoader, Class<? extends IMetaStoreClient> msClientClass)
           
 
Method Summary
static IMetaStoreClient getProxy(HiveConf hiveConf, HiveMetaHookLoader hookLoader, String mscClassName)
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetryingMetaStoreClient

protected RetryingMetaStoreClient(HiveConf hiveConf,
                                  HiveMetaHookLoader hookLoader,
                                  Class<? extends IMetaStoreClient> msClientClass)
                           throws MetaException
Throws:
MetaException
Method Detail

getProxy

public static IMetaStoreClient getProxy(HiveConf hiveConf,
                                        HiveMetaHookLoader hookLoader,
                                        String mscClassName)
                                 throws MetaException
Throws:
MetaException

invoke

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


Copyright © 2011 The Apache Software Foundation