org.apache.hadoop.hbase.master
Class MasterCoprocessorHost
java.lang.Object
org.apache.hadoop.hbase.coprocessor.CoprocessorHost<org.apache.hadoop.hbase.master.MasterCoprocessorHost.MasterEnvironment>
org.apache.hadoop.hbase.master.MasterCoprocessorHost
public class MasterCoprocessorHost
- extends CoprocessorHost<org.apache.hadoop.hbase.master.MasterCoprocessorHost.MasterEnvironment>
Provides the coprocessor framework and environment for master oriented
operations. HMaster
interacts with the loaded coprocessors
through this class.
Methods inherited from class org.apache.hadoop.hbase.coprocessor.CoprocessorHost |
abortServer, findCoprocessor, findCoprocessorEnvironment, getCoprocessors, getLoadedCoprocessors, handleCoprocessorThrowable, load, load, loadInstance, loadSystemCoprocessors, shutdown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createEnvironment
public org.apache.hadoop.hbase.master.MasterCoprocessorHost.MasterEnvironment createEnvironment(Class<?> implClass,
Coprocessor instance,
int priority,
int seq,
org.apache.hadoop.conf.Configuration conf)
- Description copied from class:
CoprocessorHost
- Called when a new Coprocessor class is loaded
- Specified by:
createEnvironment
in class CoprocessorHost<org.apache.hadoop.hbase.master.MasterCoprocessorHost.MasterEnvironment>
abortServer
protected void abortServer(CoprocessorEnvironment env,
Throwable e)
- Overrides:
abortServer
in class CoprocessorHost<org.apache.hadoop.hbase.master.MasterCoprocessorHost.MasterEnvironment>
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.