org.apache.hadoop.yarn.client
Class AHSProxy<T>

java.lang.Object
  extended by org.apache.hadoop.yarn.client.AHSProxy<T>

@InterfaceAudience.Public
@InterfaceStability.Evolving
public class AHSProxy<T>
extends Object


Constructor Summary
AHSProxy()
           
 
Method Summary
static
<T> T
createAHSProxy(Configuration conf, Class<T> protocol, InetSocketAddress ahsAddress)
           
protected static
<T> T
getProxy(Configuration conf, Class<T> protocol, InetSocketAddress rmAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AHSProxy

public AHSProxy()
Method Detail

createAHSProxy

public static <T> T createAHSProxy(Configuration conf,
                                   Class<T> protocol,
                                   InetSocketAddress ahsAddress)
                        throws IOException
Throws:
IOException

getProxy

protected static <T> T getProxy(Configuration conf,
                                Class<T> protocol,
                                InetSocketAddress rmAddress)
                     throws IOException
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.