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
FieldsFields inherited from class org.apache.hadoop.hbase.coprocessor.BaseEnvironment
impl, priority -
Constructor Summary
ConstructorsConstructorDescriptionMasterEnvironmentForCoreCoprocessors(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, 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
-
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:HasMasterServicesReturns An instance of RegionServerServices, an object NOT for Coprocessor consumption.- Specified by:
getMasterServicesin interfaceHasMasterServices- Returns:
- An instance of MasterServices, an object NOT for general user-space Coprocessor consumption.
-