org.apache.hadoop.yarn.client
Class ServerProxy

java.lang.Object
  extended by org.apache.hadoop.yarn.client.ServerProxy
Direct Known Subclasses:
NMProxy

@InterfaceAudience.Public
@InterfaceStability.Unstable
public class ServerProxy
extends Object


Constructor Summary
ServerProxy()
           
 
Method Summary
protected static
<T> T
createRetriableProxy(Configuration conf, Class<T> protocol, org.apache.hadoop.security.UserGroupInformation user, org.apache.hadoop.yarn.ipc.YarnRPC rpc, InetSocketAddress serverAddress, org.apache.hadoop.io.retry.RetryPolicy retryPolicy)
           
protected static org.apache.hadoop.io.retry.RetryPolicy createRetryPolicy(Configuration conf, String maxWaitTimeStr, long defMaxWaitTime, String connectRetryIntervalStr, long defRetryInterval)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerProxy

public ServerProxy()
Method Detail

createRetryPolicy

protected static org.apache.hadoop.io.retry.RetryPolicy createRetryPolicy(Configuration conf,
                                                                          String maxWaitTimeStr,
                                                                          long defMaxWaitTime,
                                                                          String connectRetryIntervalStr,
                                                                          long defRetryInterval)

createRetriableProxy

protected static <T> T createRetriableProxy(Configuration conf,
                                            Class<T> protocol,
                                            org.apache.hadoop.security.UserGroupInformation user,
                                            org.apache.hadoop.yarn.ipc.YarnRPC rpc,
                                            InetSocketAddress serverAddress,
                                            org.apache.hadoop.io.retry.RetryPolicy retryPolicy)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.