org.apache.hadoop.yarn.factories.impl.pb
Class RpcClientFactoryPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.factories.impl.pb.RpcClientFactoryPBImpl
All Implemented Interfaces:
RpcClientFactory

public class RpcClientFactoryPBImpl
extends Object
implements RpcClientFactory


Method Summary
static RpcClientFactoryPBImpl get()
           
 Object getClient(Class<?> protocol, long clientVersion, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf)
           
 void stopClient(Object proxy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static RpcClientFactoryPBImpl get()

getClient

public Object getClient(Class<?> protocol,
                        long clientVersion,
                        InetSocketAddress addr,
                        org.apache.hadoop.conf.Configuration conf)
                 throws YarnException
Specified by:
getClient in interface RpcClientFactory
Throws:
YarnException

stopClient

public void stopClient(Object proxy)
Specified by:
stopClient in interface RpcClientFactory


Copyright © 2012 Apache Software Foundation. All Rights Reserved.