@InterfaceAudience.Private public class VisibilityReplication extends Object implements RegionServerCoprocessor, RegionServerObserver
Coprocessor.StatePRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION| 构造器和说明 |
|---|
VisibilityReplication() |
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<RegionServerObserver> |
getRegionServerObserver() |
ReplicationEndpoint |
postCreateReplicationEndPoint(ObserverContext<RegionServerCoprocessorEnvironment> ctx,
ReplicationEndpoint endpoint)
This will be called after the replication endpoint is instantiated.
|
void |
start(CoprocessorEnvironment env) |
void |
stop(CoprocessorEnvironment env) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServicespostClearCompactionQueues, postExecuteProcedures, postReplicateLogEntries, postRollWALWriterRequest, preClearCompactionQueues, preExecuteProcedures, preReplicateLogEntries, preRollWALWriterRequest, preStopRegionServerpublic void start(CoprocessorEnvironment env) throws IOException
start 在接口中 CoprocessorIOExceptionpublic void stop(CoprocessorEnvironment env) throws IOException
stop 在接口中 CoprocessorIOExceptionpublic Optional<RegionServerObserver> getRegionServerObserver()
public ReplicationEndpoint postCreateReplicationEndPoint(ObserverContext<RegionServerCoprocessorEnvironment> ctx, ReplicationEndpoint endpoint)
RegionServerObserverpostCreateReplicationEndPoint 在接口中 RegionServerObserverctx - the environment to interact with the framework and region server.endpoint - - the base endpoint for replicationCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.