org.apache.hadoop.yarn.factories
Interface RpcServerFactory

All Known Implementing Classes:
RpcServerFactoryPBImpl

public interface RpcServerFactory


Method Summary
 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, String portRangeConfig)
           
 

Method Detail

getServer

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,
                                       String portRangeConfig)
                                       throws YarnException
Throws:
YarnException


Copyright © 2012 Apache Software Foundation. All Rights Reserved.