org.apache.hadoop.yarn.ipc
Class ProtoOverHadoopRpcEngine
java.lang.Object
org.apache.hadoop.yarn.ipc.ProtoOverHadoopRpcEngine
- All Implemented Interfaces:
- org.apache.hadoop.ipc.RpcEngine
@InterfaceStability.Evolving
public class ProtoOverHadoopRpcEngine
- extends Object
- implements org.apache.hadoop.ipc.RpcEngine
|
Method Summary |
Object[] |
call(Method method,
Object[][] params,
InetSocketAddress[] addrs,
org.apache.hadoop.security.UserGroupInformation ticket,
org.apache.hadoop.conf.Configuration conf)
|
<T> org.apache.hadoop.ipc.ProtocolProxy<T> |
|
getProxy(Class<T> protocol,
long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.security.UserGroupInformation ticket,
org.apache.hadoop.conf.Configuration conf,
SocketFactory factory,
int rpcTimeout)
|
org.apache.hadoop.ipc.RPC.Server |
getServer(Class<?> protocol,
Object instance,
String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager,
String portRangeConfig)
|
void |
stopProxy(Object proxy)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtoOverHadoopRpcEngine
public ProtoOverHadoopRpcEngine()
getProxy
public <T> org.apache.hadoop.ipc.ProtocolProxy<T> getProxy(Class<T> protocol,
long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.security.UserGroupInformation ticket,
org.apache.hadoop.conf.Configuration conf,
SocketFactory factory,
int rpcTimeout)
throws IOException
- Specified by:
getProxy in interface org.apache.hadoop.ipc.RpcEngine
- Throws:
IOException
stopProxy
public void stopProxy(Object proxy)
- Specified by:
stopProxy in interface org.apache.hadoop.ipc.RpcEngine
call
public Object[] call(Method method,
Object[][] params,
InetSocketAddress[] addrs,
org.apache.hadoop.security.UserGroupInformation ticket,
org.apache.hadoop.conf.Configuration conf)
throws IOException,
InterruptedException
- Specified by:
call in interface org.apache.hadoop.ipc.RpcEngine
- Throws:
IOException
InterruptedException
getServer
public org.apache.hadoop.ipc.RPC.Server getServer(Class<?> protocol,
Object instance,
String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager,
String portRangeConfig)
throws IOException
- Specified by:
getServer in interface org.apache.hadoop.ipc.RpcEngine
- Throws:
IOException
Copyright © 2012 Apache Software Foundation. All Rights Reserved.