public static class VisibilityController.VisibilityReplication extends BaseRegionServerObserver
Coprocessor.State
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.conf.Configuration |
conf |
private VisibilityLabelService |
visibilityLabelService |
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION
Constructor and Description |
---|
VisibilityController.VisibilityReplication() |
Modifier and Type | Method and Description |
---|---|
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) |
postMerge, postMergeCommit, postReplicateLogEntries, postRollBackMerge, postRollWALWriterRequest, preMerge, preMergeCommit, preReplicateLogEntries, preRollBackMerge, preRollWALWriterRequest, preStopRegionServer
private org.apache.hadoop.conf.Configuration conf
private VisibilityLabelService visibilityLabelService
public VisibilityController.VisibilityReplication()
public void start(CoprocessorEnvironment env) throws IOException
start
in interface Coprocessor
start
in class BaseRegionServerObserver
IOException
public void stop(CoprocessorEnvironment env) throws IOException
stop
in interface Coprocessor
stop
in class BaseRegionServerObserver
IOException
public ReplicationEndpoint postCreateReplicationEndPoint(ObserverContext<RegionServerCoprocessorEnvironment> ctx, ReplicationEndpoint endpoint)
RegionServerObserver
postCreateReplicationEndPoint
in interface RegionServerObserver
postCreateReplicationEndPoint
in class BaseRegionServerObserver
endpoint
- - the base endpoint for replicationCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.