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

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

public class RpcServerFactoryPBImpl
extends Object
implements RpcServerFactory


Method Summary
static RpcServerFactoryPBImpl get()
           
 org.apache.hadoop.ipc.Server getServer(Class<?> protocol, Object instance, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager, int numHandlers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static RpcServerFactoryPBImpl get()

getServer

public org.apache.hadoop.ipc.Server getServer(Class<?> protocol,
                                              Object instance,
                                              InetSocketAddress addr,
                                              org.apache.hadoop.conf.Configuration conf,
                                              org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager,
                                              int numHandlers)
                                       throws YarnException
Specified by:
getServer in interface RpcServerFactory
Throws:
YarnException


Copyright © 2012 Apache Software Foundation. All Rights Reserved.