org.apache.hadoop.hbase.regionserver
Class SimpleRpcSchedulerFactory
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleRpcSchedulerFactory
public SimpleRpcSchedulerFactory()
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 © 2007–2016 The Apache Software Foundation. All rights reserved.