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

    Fields
    Modifier and Type
    Field
    Description
    (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

    Constructors
    Constructor
    Description
    CoprocessorHostForTest(org.apache.hadoop.conf.Configuration conf)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    checkAndGetInstance(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • cpHostConf

      final org.apache.hadoop.conf.Configuration cpHostConf
  • Constructor Details

  • Method Details

    • checkAndGetInstance

      Specified by:
      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>>
      Throws:
      InstantiationException
      IllegalAccessException
    • createEnvironment

      public org.apache.hadoop.hbase.CoprocessorEnvironment<E> createEnvironment(E instance, int priority, int sequence, org.apache.hadoop.conf.Configuration conf)
      Specified by:
      createEnvironment 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>>