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>>
org.apache.hadoop.hbase.coprocessor.CoprocessorHost.EnvironmentPriorityComparator, org.apache.hadoop.hbase.coprocessor.CoprocessorHost.ObserverGetter<C,O>, org.apache.hadoop.hbase.coprocessor.CoprocessorHost.ObserverOperationWithoutResult<O>, org.apache.hadoop.hbase.coprocessor.CoprocessorHost.ObserverOperationWithResult<O,R>
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.hadoop.conf.Configuration |
cpHostConf |
ABORT_ON_ERROR_KEY, abortable, conf, coprocEnvironments, COPROCESSORS_ENABLED_CONF_KEY, DEFAULT_ABORT_ON_ERROR, DEFAULT_COPROCESSORS_ENABLED, DEFAULT_USER_COPROCESSORS_ENABLED, loadSequence, MASTER_COPROCESSOR_CONF_KEY, pathPrefix, REGION_COPROCESSOR_CONF_KEY, REGIONSERVER_COPROCESSOR_CONF_KEY, USER_COPROCESSORS_ENABLED_CONF_KEY, USER_REGION_COPROCESSOR_CONF_KEY, WAL_COPROCESSOR_CONF_KEY
Constructor and Description |
---|
CoprocessorHostForTest(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
E |
checkAndGetInstance(Class<?> implClass) |
org.apache.hadoop.hbase.CoprocessorEnvironment<E> |
createEnvironment(E instance,
int priority,
int sequence,
org.apache.hadoop.conf.Configuration conf) |
abortServer, abortServer, checkAndLoadInstance, execOperation, execOperationWithResult, execShutdown, findCoprocessor, findCoprocessor, findCoprocessorEnvironment, findCoprocessors, getCoprocessors, getExternalClassLoaders, getLoadedCoprocessors, handleCoprocessorThrowable, load, load, load, loadSystemCoprocessors, shutdown
final org.apache.hadoop.conf.Configuration cpHostConf
public CoprocessorHostForTest(org.apache.hadoop.conf.Configuration conf)
public E checkAndGetInstance(Class<?> implClass) throws InstantiationException, IllegalAccessException
checkAndGetInstance
in class org.apache.hadoop.hbase.coprocessor.CoprocessorHost<E extends org.apache.hadoop.hbase.Coprocessor,org.apache.hadoop.hbase.CoprocessorEnvironment<E extends org.apache.hadoop.hbase.Coprocessor>>
InstantiationException
IllegalAccessException
public org.apache.hadoop.hbase.CoprocessorEnvironment<E> createEnvironment(E instance, int priority, int sequence, org.apache.hadoop.conf.Configuration conf)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.