Class TestCoprocessorHost.CoprocessorHostForTest<E extends org.apache.hadoop.hbase.Coprocessor>
java.lang.Object
org.apache.hadoop.hbase.coprocessor.CoprocessorHost<E,org.apache.hadoop.hbase.CoprocessorEnvironment<E>>
org.apache.hadoop.hbase.coprocessor.TestCoprocessorHost.CoprocessorHostForTest<E>
- Enclosing class:
- TestCoprocessorHost
private static class TestCoprocessorHost.CoprocessorHostForTest<E extends org.apache.hadoop.hbase.Coprocessor>
extends org.apache.hadoop.hbase.coprocessor.CoprocessorHost<E,org.apache.hadoop.hbase.CoprocessorEnvironment<E>>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.coprocessor.CoprocessorHost
org.apache.hadoop.hbase.coprocessor.CoprocessorHost.EnvironmentPriorityComparator, org.apache.hadoop.hbase.coprocessor.CoprocessorHost.ObserverGetter<C extends Object,
O extends Object>, org.apache.hadoop.hbase.coprocessor.CoprocessorHost.ObserverOperationWithoutResult<O extends Object>, org.apache.hadoop.hbase.coprocessor.CoprocessorHost.ObserverOperationWithResult<O extends Object, R extends Object> -
Field Summary
Modifier and TypeFieldDescription(package private) final org.apache.hadoop.conf.Configuration
Fields inherited from class org.apache.hadoop.hbase.coprocessor.CoprocessorHost
ABORT_ON_ERROR_KEY, abortable, conf, coprocEnvironments, COPROCESSORS_ENABLED_CONF_KEY, DEFAULT_ABORT_ON_ERROR, DEFAULT_COPROCESSORS_ENABLED, DEFAULT_SKIP_LOAD_DUPLICATE_TABLE_COPROCESSOR, DEFAULT_USER_COPROCESSORS_ENABLED, loadSequence, MASTER_COPROCESSOR_CONF_KEY, pathPrefix, REGION_COPROCESSOR_CONF_KEY, REGIONSERVER_COPROCESSOR_CONF_KEY, SKIP_LOAD_DUPLICATE_TABLE_COPROCESSOR, USER_COPROCESSORS_ENABLED_CONF_KEY, USER_REGION_COPROCESSOR_CONF_KEY, WAL_COPROCESSOR_CONF_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheckAndGetInstance
(Class<?> implClass) org.apache.hadoop.hbase.CoprocessorEnvironment<E>
createEnvironment
(E instance, int priority, int sequence, org.apache.hadoop.conf.Configuration conf) Methods inherited from class org.apache.hadoop.hbase.coprocessor.CoprocessorHost
abortServer, abortServer, checkAndLoadInstance, execOperation, execOperationWithResult, execShutdown, findCoprocessor, findCoprocessor, findCoprocessorEnvironment, findCoprocessors, getCoprocessors, getExternalClassLoaders, getLoadedCoprocessors, handleCoprocessorThrowable, load, load, load, loadSystemCoprocessors, shutdown
-
Field Details
-
cpHostConf
-
-
Constructor Details
-
CoprocessorHostForTest
-
-
Method Details
-
checkAndGetInstance
public E checkAndGetInstance(Class<?> implClass) throws InstantiationException, IllegalAccessException - Specified by:
checkAndGetInstance
in classorg.apache.hadoop.hbase.coprocessor.CoprocessorHost<E extends org.apache.hadoop.hbase.Coprocessor,
org.apache.hadoop.hbase.CoprocessorEnvironment<E extends org.apache.hadoop.hbase.Coprocessor>> - Throws:
InstantiationException
IllegalAccessException
-
createEnvironment
public org.apache.hadoop.hbase.CoprocessorEnvironment<E> createEnvironment(E instance, int priority, int sequence, org.apache.hadoop.conf.Configuration conf)
-