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
FieldsFields inherited from class org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.RegionEnvironment
sharedDataFields inherited from class org.apache.hadoop.hbase.coprocessor.BaseEnvironment
impl, priority -
Constructor Summary
ConstructorsConstructorDescriptionRegionEnvironmentForCoreCoprocessors(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, shutdownMethods inherited from class org.apache.hadoop.hbase.coprocessor.BaseEnvironment
getClassLoader, getConfiguration, getHBaseVersion, getInstance, getLoadSequence, getPriority, getVersion, startupMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:HasRegionServerServicesReturns An instance of RegionServerServices, an object NOT for Coprocessor consumption.- Specified by:
getRegionServerServicesin interfaceHasRegionServerServices- Returns:
- An instance of RegionServerServices, an object NOT for general user-space Coprocessor consumption.
-