org.apache.hadoop.hbase.regionserver
Interface RpcSchedulerFactory

All Known Implementing Classes:
SimpleRpcSchedulerFactory

@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"})
@InterfaceStability.Evolving
public interface RpcSchedulerFactory

A factory class that constructs an RpcScheduler for a region server.


Method Summary
 RpcScheduler create(org.apache.hadoop.conf.Configuration conf, RegionServerServices server)
          Constructs a RpcScheduler.
 

Method Detail

create

RpcScheduler create(org.apache.hadoop.conf.Configuration conf,
                    RegionServerServices server)
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).



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