org.apache.hadoop.yarn.factories.impl.pb
Class RpcClientFactoryPBImpl
java.lang.Object
org.apache.hadoop.yarn.factories.impl.pb.RpcClientFactoryPBImpl
- All Implemented Interfaces:
- RpcClientFactory
public class RpcClientFactoryPBImpl
- extends Object
- implements RpcClientFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.