@InterfaceAudience.Private public class WALCoprocessorHost extends CoprocessorHost<org.apache.hadoop.hbase.regionserver.wal.WALCoprocessorHost.WALEnvironment>
FSHLog.CoprocessorHost.EnvironmentABORT_ON_ERROR_KEY, abortable, conf, coprocessors, DEFAULT_ABORT_ON_ERROR, loadSequence, MASTER_COPROCESSOR_CONF_KEY, pathPrefix, REGION_COPROCESSOR_CONF_KEY, REGIONSERVER_COPROCESSOR_CONF_KEY, USER_REGION_COPROCESSOR_CONF_KEY, WAL_COPROCESSOR_CONF_KEY| Constructor and Description |
|---|
WALCoprocessorHost(org.apache.hadoop.hbase.regionserver.wal.FSHLog log,
org.apache.hadoop.conf.Configuration conf)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hbase.regionserver.wal.WALCoprocessorHost.WALEnvironment |
createEnvironment(Class<?> implClass,
Coprocessor instance,
int priority,
int seq,
org.apache.hadoop.conf.Configuration conf)
Called when a new Coprocessor class is loaded
|
void |
postWALWrite(HRegionInfo info,
HLogKey logKey,
WALEdit logEdit) |
boolean |
preWALWrite(HRegionInfo info,
HLogKey logKey,
WALEdit logEdit) |
abortServer, abortServer, findCoprocessor, findCoprocessorEnvironment, getCoprocessors, getLoadedCoprocessors, handleCoprocessorThrowable, load, load, loadInstance, loadSystemCoprocessors, shutdownpublic WALCoprocessorHost(org.apache.hadoop.hbase.regionserver.wal.FSHLog log,
org.apache.hadoop.conf.Configuration conf)
log - the write ahead logconf - the configurationpublic org.apache.hadoop.hbase.regionserver.wal.WALCoprocessorHost.WALEnvironment createEnvironment(Class<?> implClass, Coprocessor instance, int priority, int seq, org.apache.hadoop.conf.Configuration conf)
CoprocessorHostcreateEnvironment in class CoprocessorHost<org.apache.hadoop.hbase.regionserver.wal.WALCoprocessorHost.WALEnvironment>public boolean preWALWrite(HRegionInfo info, HLogKey logKey, WALEdit logEdit) throws IOException
info - logKey - logEdit - IOExceptionpublic void postWALWrite(HRegionInfo info, HLogKey logKey, WALEdit logEdit) throws IOException
info - logKey - logEdit - IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.