@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"}) @InterfaceStability.Evolving public interface RpcSchedulerFactory
RpcScheduler
for
a region server.Modifier and Type | Method and Description |
---|---|
RpcScheduler |
create(org.apache.hadoop.conf.Configuration conf,
RegionServerServices server)
Constructs a
RpcScheduler . |
RpcScheduler create(org.apache.hadoop.conf.Configuration conf, RegionServerServices server)
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 © 2014 The Apache Software Foundation. All rights reserved.