Class RegionCoprocessorHost.RegionEnvironmentForCoreCoprocessors
java.lang.Object
org.apache.hadoop.hbase.coprocessor.BaseEnvironment<RegionCoprocessor>
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.RegionEnvironment
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.RegionEnvironmentForCoreCoprocessors
- All Implemented Interfaces:
HasRegionServerServices
,RegionCoprocessorEnvironment
,CoprocessorEnvironment<RegionCoprocessor>
- Enclosing class:
- RegionCoprocessorHost
private static class RegionCoprocessorHost.RegionEnvironmentForCoreCoprocessors
extends RegionCoprocessorHost.RegionEnvironment
implements HasRegionServerServices
Special version of RegionEnvironment that exposes RegionServerServices for Core Coprocessors
only. Temporary hack until Core Coprocessors are integrated into Core.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.RegionEnvironment
sharedData
Fields inherited from class org.apache.hadoop.hbase.coprocessor.BaseEnvironment
impl, priority
-
Constructor Summary
ConstructorDescriptionRegionEnvironmentForCoreCoprocessors
(RegionCoprocessor impl, int priority, int seq, org.apache.hadoop.conf.Configuration conf, Region region, RegionServerServices services, ConcurrentMap<String, Object> sharedData) -
Method Summary
Modifier and TypeMethodDescriptionReturns An instance of RegionServerServices, an object NOT for Coprocessor consumption.Methods inherited from class org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.RegionEnvironment
checkBatchQuota, checkBatchQuota, checkScanQuota, createConnection, getCellBuilder, getConnection, getMetricRegistryForRegionServer, getOnlineRegions, getRegion, getRegionInfo, getRpcQuotaManager, getServerName, getSharedData, shutdown
Methods inherited from class org.apache.hadoop.hbase.coprocessor.BaseEnvironment
getClassLoader, getConfiguration, getHBaseVersion, getInstance, getLoadSequence, getPriority, getVersion, startup
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.CoprocessorEnvironment
getClassLoader, getConfiguration, getHBaseVersion, getInstance, getLoadSequence, getPriority, getVersion
-
Field Details
-
rsServices
-
-
Constructor Details
-
RegionEnvironmentForCoreCoprocessors
public RegionEnvironmentForCoreCoprocessors(RegionCoprocessor impl, int priority, int seq, org.apache.hadoop.conf.Configuration conf, Region region, RegionServerServices services, ConcurrentMap<String, Object> sharedData)
-
-
Method Details
-
getRegionServerServices
Description copied from interface:HasRegionServerServices
Returns An instance of RegionServerServices, an object NOT for Coprocessor consumption.- Specified by:
getRegionServerServices
in interfaceHasRegionServerServices
- Returns:
- An instance of RegionServerServices, an object NOT for general user-space Coprocessor consumption.
-