Class RegionServerCoprocessorHost.RegionServerEnvironmentForCoreCoprocessors
java.lang.Object
org.apache.hadoop.hbase.coprocessor.BaseEnvironment<RegionServerCoprocessor>
org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost.RegionServerEnvironment
org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost.RegionServerEnvironmentForCoreCoprocessors
- All Implemented Interfaces:
HasRegionServerServices
,RegionServerCoprocessorEnvironment
,CoprocessorEnvironment<RegionServerCoprocessor>
- Enclosing class:
- RegionServerCoprocessorHost
private static class RegionServerCoprocessorHost.RegionServerEnvironmentForCoreCoprocessors
extends RegionServerCoprocessorHost.RegionServerEnvironment
implements HasRegionServerServices
Special version of RegionServerEnvironment 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.coprocessor.BaseEnvironment
impl, priority
-
Constructor Summary
ConstructorDescriptionRegionServerEnvironmentForCoreCoprocessors
(RegionServerCoprocessor impl, int priority, int seq, org.apache.hadoop.conf.Configuration conf, RegionServerServices services) -
Method Summary
Modifier and TypeMethodDescriptionReturns An instance of RegionServerServices, an object NOT for Coprocessor consumption.Methods inherited from class org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost.RegionServerEnvironment
createConnection, getConnection, getMetricRegistryForRegionServer, getOnlineRegions, getServerName, 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
-
regionServerServices
-
-
Constructor Details
-
RegionServerEnvironmentForCoreCoprocessors
public RegionServerEnvironmentForCoreCoprocessors(RegionServerCoprocessor impl, int priority, int seq, org.apache.hadoop.conf.Configuration conf, RegionServerServices services)
-
-
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.
-