@InterfaceAudience.Private public class RpcServerFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOM_RPC_SERVER_IMPL_CONF_KEY |
static org.slf4j.Logger |
LOG |
Modifier and Type | Method and Description |
---|---|
static RpcServer |
createRpcServer(Server server,
String name,
List<RpcServer.BlockingServiceAndInterface> services,
InetSocketAddress bindAddress,
org.apache.hadoop.conf.Configuration conf,
RpcScheduler scheduler) |
static RpcServer |
createRpcServer(Server server,
String name,
List<RpcServer.BlockingServiceAndInterface> services,
InetSocketAddress bindAddress,
org.apache.hadoop.conf.Configuration conf,
RpcScheduler scheduler,
boolean reservoirEnabled) |
public static final org.slf4j.Logger LOG
public static final String CUSTOM_RPC_SERVER_IMPL_CONF_KEY
public static RpcServer createRpcServer(Server server, String name, List<RpcServer.BlockingServiceAndInterface> services, InetSocketAddress bindAddress, org.apache.hadoop.conf.Configuration conf, RpcScheduler scheduler) throws IOException
IOException
public static RpcServer createRpcServer(Server server, String name, List<RpcServer.BlockingServiceAndInterface> services, InetSocketAddress bindAddress, org.apache.hadoop.conf.Configuration conf, RpcScheduler scheduler, boolean reservoirEnabled) throws IOException
IOException
Copyright © 2007–2019 Cloudera. All rights reserved.