public class RequestHedgingRMFailoverProxyProvider<T> extends ConfiguredRMFailoverProxyProvider<T>
conf, protocol, rmProxy, rmServiceIds| Constructor and Description | 
|---|
| RequestHedgingRMFailoverProxyProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected T | createRetriableProxy() | 
| org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo<T> | getProxy() | 
| void | init(org.apache.hadoop.conf.Configuration configuration,
    RMProxy<T> rmProxy,
    Class<T> protocol)Initialize internal data structures, invoked right after instantiation. | 
| void | performFailover(T currentProxy) | 
close, getInterface, getProxyInternalpublic RequestHedgingRMFailoverProxyProvider()
public void init(org.apache.hadoop.conf.Configuration configuration,
        RMProxy<T> rmProxy,
        Class<T> protocol)
RMFailoverProxyProviderinit in interface RMFailoverProxyProvider<T>init in class ConfiguredRMFailoverProxyProvider<T>configuration - Configuration to usermProxy - The RMProxy instance to useprotocol - The communication protocol to useprotected T createRetriableProxy()
public org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo<T> getProxy()
getProxy in interface org.apache.hadoop.io.retry.FailoverProxyProvider<T>getProxy in class ConfiguredRMFailoverProxyProvider<T>public void performFailover(T currentProxy)
performFailover in interface org.apache.hadoop.io.retry.FailoverProxyProvider<T>performFailover in class ConfiguredRMFailoverProxyProvider<T>Copyright © 2018 Apache Software Foundation. All Rights Reserved.