org.apache.hadoop.yarn.client
Interface RMFailoverProxyProvider<T>

All Superinterfaces:
Closeable, org.apache.hadoop.io.retry.FailoverProxyProvider<T>
All Known Implementing Classes:
ConfiguredRMFailoverProxyProvider

@InterfaceAudience.Private
public interface RMFailoverProxyProvider<T>
extends org.apache.hadoop.io.retry.FailoverProxyProvider<T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.io.retry.FailoverProxyProvider
org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo<T>
 
Method Summary
 void init(org.apache.hadoop.conf.Configuration conf, RMProxy<T> proxy, Class<T> protocol)
          Initialize internal data structures, invoked right after instantiation.
 
Methods inherited from interface org.apache.hadoop.io.retry.FailoverProxyProvider
getInterface, getProxy, performFailover
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

init

void init(org.apache.hadoop.conf.Configuration conf,
          RMProxy<T> proxy,
          Class<T> protocol)
Initialize internal data structures, invoked right after instantiation.

Parameters:
conf - Configuration to use
proxy - The RMProxy instance to use
protocol - The communication protocol to use


Copyright © 2014 Apache Software Foundation. All Rights Reserved.