@InterfaceAudience.Private public class VisibilityReplication extends Object implements RegionServerCoprocessor, RegionServerObserver
| Constructor and Description |
|---|
VisibilityReplication() |
| Modifier and Type | Method and Description |
|---|---|
Optional<RegionServerObserver> |
getRegionServerObserver() |
ReplicationEndpoint |
postCreateReplicationEndPoint(ObserverContext<RegionServerCoprocessorEnvironment> ctx,
ReplicationEndpoint endpoint)
This will be called after the replication endpoint is instantiated.
|
void |
start(org.apache.hadoop.hbase.CoprocessorEnvironment env) |
void |
stop(org.apache.hadoop.hbase.CoprocessorEnvironment env) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostClearCompactionQueues, postExecuteProcedures, postReplicateLogEntries, postRollWALWriterRequest, preClearCompactionQueues, preExecuteProcedures, preReplicateLogEntries, preRollWALWriterRequest, preStopRegionServerpublic void start(org.apache.hadoop.hbase.CoprocessorEnvironment env)
throws IOException
start in interface org.apache.hadoop.hbase.CoprocessorIOExceptionpublic void stop(org.apache.hadoop.hbase.CoprocessorEnvironment env)
throws IOException
stop in interface org.apache.hadoop.hbase.CoprocessorIOExceptionpublic Optional<RegionServerObserver> getRegionServerObserver()
getRegionServerObserver in interface RegionServerCoprocessorpublic ReplicationEndpoint postCreateReplicationEndPoint(ObserverContext<RegionServerCoprocessorEnvironment> ctx, ReplicationEndpoint endpoint)
RegionServerObserverpostCreateReplicationEndPoint in interface RegionServerObserverctx - the environment to interact with the framework and region server.endpoint - - the base endpoint for replicationCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.