org.apache.hadoop.hbase.regionserver
Class SimpleRpcSchedulerFactory

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.SimpleRpcSchedulerFactory
All Implemented Interfaces:
RpcSchedulerFactory

@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"})
@InterfaceStability.Evolving
public class SimpleRpcSchedulerFactory
extends Object
implements RpcSchedulerFactory

Constructs a SimpleRpcScheduler. for the region server.


Constructor Summary
SimpleRpcSchedulerFactory()
           
 
Method Summary
 RpcScheduler create(org.apache.hadoop.conf.Configuration conf, RegionServerServices server)
          Constructs a RpcScheduler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleRpcSchedulerFactory

public SimpleRpcSchedulerFactory()
Method Detail

create

public RpcScheduler create(org.apache.hadoop.conf.Configuration conf,
                           RegionServerServices server)
Description copied from interface: RpcSchedulerFactory
Constructs a RpcScheduler. Please note that this method is called in constructor of HRegionServer, so some fields may not be ready for access. The reason that HRegionServer is passed as parameter here is that an RPC scheduler may need to access data structure inside HRegionServer (see example in SimpleRpcSchedulerFactory).

Specified by:
create in interface RpcSchedulerFactory


Copyright © 2015 The Apache Software Foundation. All rights reserved.