org.apache.hadoop.hbase.ipc
Class RpcControllerFactory

java.lang.Object
  extended by org.apache.hadoop.hbase.ipc.RpcControllerFactory

@InterfaceAudience.Private
public class RpcControllerFactory
extends Object

Factory to create a PayloadCarryingRpcController


Field Summary
protected  org.apache.hadoop.conf.Configuration conf
           
static String CUSTOM_CONTROLLER_CONF_KEY
          Custom RPC Controller factory allows frameworks to change the RPC controller.
 
Constructor Summary
RpcControllerFactory(org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
static RpcControllerFactory instantiate(org.apache.hadoop.conf.Configuration configuration)
           
 PayloadCarryingRpcController newController()
           
 PayloadCarryingRpcController newController(CellScanner cellScanner)
           
 PayloadCarryingRpcController newController(List<CellScannable> cellIterables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CUSTOM_CONTROLLER_CONF_KEY

public static final String CUSTOM_CONTROLLER_CONF_KEY
Custom RPC Controller factory allows frameworks to change the RPC controller. If the configured controller cannot be found in the classpath or loaded, we fall back to the default RPC controller factory.

See Also:
Constant Field Values

conf

protected final org.apache.hadoop.conf.Configuration conf
Constructor Detail

RpcControllerFactory

public RpcControllerFactory(org.apache.hadoop.conf.Configuration conf)
Method Detail

newController

public PayloadCarryingRpcController newController()

newController

public PayloadCarryingRpcController newController(CellScanner cellScanner)

newController

public PayloadCarryingRpcController newController(List<CellScannable> cellIterables)

instantiate

public static RpcControllerFactory instantiate(org.apache.hadoop.conf.Configuration configuration)


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.