Package org.apache.hadoop.hbase.master
Class MasterCoprocessorHost.MasterEnvironmentForCoreCoprocessors
java.lang.Object
org.apache.hadoop.hbase.coprocessor.BaseEnvironment<MasterCoprocessor>
org.apache.hadoop.hbase.master.MasterCoprocessorHost.MasterEnvironment
org.apache.hadoop.hbase.master.MasterCoprocessorHost.MasterEnvironmentForCoreCoprocessors
- All Implemented Interfaces:
HasMasterServices
,MasterCoprocessorEnvironment
,CoprocessorEnvironment<MasterCoprocessor>
- Enclosing class:
- MasterCoprocessorHost
private static class MasterCoprocessorHost.MasterEnvironmentForCoreCoprocessors
extends MasterCoprocessorHost.MasterEnvironment
implements HasMasterServices
Special version of MasterEnvironment that exposes MasterServices 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
ConstructorDescriptionMasterEnvironmentForCoreCoprocessors
(MasterCoprocessor impl, int priority, int seq, org.apache.hadoop.conf.Configuration conf, MasterServices services) -
Method Summary
Modifier and TypeMethodDescriptionReturns An instance of RegionServerServices, an object NOT for Coprocessor consumption.Methods inherited from class org.apache.hadoop.hbase.master.MasterCoprocessorHost.MasterEnvironment
createConnection, getConnection, getMetricRegistryForMaster, 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
-
masterServices
-
-
Constructor Details
-
MasterEnvironmentForCoreCoprocessors
public MasterEnvironmentForCoreCoprocessors(MasterCoprocessor impl, int priority, int seq, org.apache.hadoop.conf.Configuration conf, MasterServices services)
-
-
Method Details
-
getMasterServices
Description copied from interface:HasMasterServices
Returns An instance of RegionServerServices, an object NOT for Coprocessor consumption.- Specified by:
getMasterServices
in interfaceHasMasterServices
- Returns:
- An instance of MasterServices, an object NOT for general user-space Coprocessor consumption.
-