org.apache.hadoop.hbase.regionserver
Class RegionServerCoprocessorHost
java.lang.Object
org.apache.hadoop.hbase.coprocessor.CoprocessorHost<org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost.RegionServerEnvironment>
org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost
@InterfaceAudience.LimitedPrivate(value="Coprocesssor")
@InterfaceStability.Evolving
public class RegionServerCoprocessorHost
- extends CoprocessorHost<org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost.RegionServerEnvironment>
Fields inherited from class org.apache.hadoop.hbase.coprocessor.CoprocessorHost |
ABORT_ON_ERROR_KEY, abortable, conf, coprocessors, 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 |
Method Summary |
org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost.RegionServerEnvironment |
createEnvironment(Class<?> implClass,
Coprocessor instance,
int priority,
int sequence,
org.apache.hadoop.conf.Configuration conf)
Called when a new Coprocessor class is loaded |
ReplicationEndpoint |
postCreateReplicationEndPoint(ReplicationEndpoint endpoint)
|
void |
postMerge(HRegion regionA,
HRegion regionB,
HRegion mergedRegion)
|
void |
postMergeCommit(HRegion regionA,
HRegion regionB,
HRegion mergedRegion)
|
void |
postReplicateLogEntries(List<AdminProtos.WALEntry> entries,
CellScanner cells)
|
void |
postRollBackMerge(HRegion regionA,
HRegion regionB)
|
void |
postRollWALWriterRequest()
|
boolean |
preMerge(HRegion regionA,
HRegion regionB)
|
boolean |
preMergeCommit(HRegion regionA,
HRegion regionB,
List<Mutation> metaEntries)
|
void |
preReplicateLogEntries(List<AdminProtos.WALEntry> entries,
CellScanner cells)
|
void |
preRollBackMerge(HRegion regionA,
HRegion regionB)
|
void |
preRollWALWriterRequest()
|
void |
preStop(String message)
|
Methods inherited from class org.apache.hadoop.hbase.coprocessor.CoprocessorHost |
abortServer, abortServer, findCoprocessor, findCoprocessorEnvironment, findCoprocessors, getCoprocessors, getLoadedCoprocessors, handleCoprocessorThrowable, load, load, loadInstance, loadSystemCoprocessors, shutdown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegionServerCoprocessorHost
public RegionServerCoprocessorHost(RegionServerServices rsServices,
org.apache.hadoop.conf.Configuration conf)
createEnvironment
public org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost.RegionServerEnvironment createEnvironment(Class<?> implClass,
Coprocessor instance,
int priority,
int sequence,
org.apache.hadoop.conf.Configuration conf)
- Description copied from class:
CoprocessorHost
- Called when a new Coprocessor class is loaded
- Specified by:
createEnvironment
in class CoprocessorHost<org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost.RegionServerEnvironment>
preStop
public void preStop(String message)
throws IOException
- Throws:
IOException
preMerge
public boolean preMerge(HRegion regionA,
HRegion regionB)
throws IOException
- Throws:
IOException
postMerge
public void postMerge(HRegion regionA,
HRegion regionB,
HRegion mergedRegion)
throws IOException
- Throws:
IOException
preMergeCommit
public boolean preMergeCommit(HRegion regionA,
HRegion regionB,
@MetaMutationAnnotation
List<Mutation> metaEntries)
throws IOException
- Throws:
IOException
postMergeCommit
public void postMergeCommit(HRegion regionA,
HRegion regionB,
HRegion mergedRegion)
throws IOException
- Throws:
IOException
preRollBackMerge
public void preRollBackMerge(HRegion regionA,
HRegion regionB)
throws IOException
- Throws:
IOException
postRollBackMerge
public void postRollBackMerge(HRegion regionA,
HRegion regionB)
throws IOException
- Throws:
IOException
preRollWALWriterRequest
public void preRollWALWriterRequest()
throws IOException
- Throws:
IOException
postRollWALWriterRequest
public void postRollWALWriterRequest()
throws IOException
- Throws:
IOException
preReplicateLogEntries
public void preReplicateLogEntries(List<AdminProtos.WALEntry> entries,
CellScanner cells)
throws IOException
- Throws:
IOException
postReplicateLogEntries
public void postReplicateLogEntries(List<AdminProtos.WALEntry> entries,
CellScanner cells)
throws IOException
- Throws:
IOException
postCreateReplicationEndPoint
public ReplicationEndpoint postCreateReplicationEndPoint(ReplicationEndpoint endpoint)
throws IOException
- Throws:
IOException
Copyright © 2015 The Apache Software Foundation. All rights reserved.