@InterfaceAudience.Private public class RegionServerCoprocessorHost extends CoprocessorHost<RegionServerCoprocessor,RegionServerCoprocessorEnvironment>
CoprocessorHost.ObserverGetter<C,O>, CoprocessorHost.ObserverOperationWithoutResult<O>, CoprocessorHost.ObserverOperationWithResult<O,R>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| 构造器和说明 |
|---|
RegionServerCoprocessorHost(RegionServerServices rsServices,
org.apache.hadoop.conf.Configuration conf) |
| 限定符和类型 | 方法和说明 |
|---|---|
RegionServerCoprocessor |
checkAndGetInstance(Class<?> implClass)
Called when a new Coprocessor class needs to be loaded.
|
org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost.RegionServerEnvironment |
createEnvironment(RegionServerCoprocessor instance,
int priority,
int sequence,
org.apache.hadoop.conf.Configuration conf)
Called when a new Coprocessor class is loaded
|
void |
postClearCompactionQueues() |
ReplicationEndpoint |
postCreateReplicationEndPoint(ReplicationEndpoint endpoint) |
void |
postExecuteProcedures() |
void |
postReplicateLogEntries() |
void |
postRollWALWriterRequest() |
void |
preClearCompactionQueues() |
void |
preExecuteProcedures() |
void |
preReplicateLogEntries() |
void |
preRollWALWriterRequest() |
void |
preStop(String message,
User user) |
abortServer, abortServer, checkAndLoadInstance, execOperation, execOperationWithResult, execShutdown, findCoprocessor, findCoprocessor, findCoprocessorEnvironment, findCoprocessors, getCoprocessors, getLoadedCoprocessors, handleCoprocessorThrowable, load, load, load, loadSystemCoprocessors, shutdownpublic RegionServerCoprocessorHost(RegionServerServices rsServices, org.apache.hadoop.conf.Configuration conf)
public org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost.RegionServerEnvironment createEnvironment(RegionServerCoprocessor instance, int priority, int sequence, org.apache.hadoop.conf.Configuration conf)
CoprocessorHostpublic RegionServerCoprocessor checkAndGetInstance(Class<?> implClass) throws InstantiationException, IllegalAccessException
CoprocessorHostpublic void preStop(String message, User user) throws IOException
IOExceptionpublic void preRollWALWriterRequest()
throws IOException
IOExceptionpublic void postRollWALWriterRequest()
throws IOException
IOExceptionpublic void preReplicateLogEntries()
throws IOException
IOExceptionpublic void postReplicateLogEntries()
throws IOException
IOExceptionpublic ReplicationEndpoint postCreateReplicationEndPoint(ReplicationEndpoint endpoint) throws IOException
IOExceptionpublic void preClearCompactionQueues()
throws IOException
IOExceptionpublic void postClearCompactionQueues()
throws IOException
IOExceptionpublic void preExecuteProcedures()
throws IOException
IOExceptionpublic void postExecuteProcedures()
throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.