java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.io.retry.FailoverProxyProvider<T>, RMFailoverProxyProvider<T>public class RequestHedgingRMFailoverProxyProvider<T> extends ConfiguredRMFailoverProxyProvider<T>
conf, protocol, rmProxy, rmServiceIds| Constructor | Description |
|---|---|
RequestHedgingRMFailoverProxyProvider() |
| Modifier and Type | Method | Description |
|---|---|---|
protected T |
createRetriableProxy() |
|
org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo<T> |
getProxy() |
|
void |
init(org.apache.hadoop.conf.Configuration configuration,
RMProxy<T> rmProxy,
java.lang.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,
java.lang.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 © 2008–2025 Apache Software Foundation. All rights reserved.