org.apache.hadoop.hbase.security.visibility
Class VisibilityController.VisibilityReplication
java.lang.Object
org.apache.hadoop.hbase.coprocessor.BaseRegionServerObserver
org.apache.hadoop.hbase.security.visibility.VisibilityController.VisibilityReplication
- All Implemented Interfaces:
- Coprocessor, RegionServerObserver
- Enclosing class:
- VisibilityController
public static class VisibilityController.VisibilityReplication
- extends BaseRegionServerObserver
A RegionServerObserver impl that provides the custom
VisibilityReplicationEndpoint. This class should be configured as the
'hbase.coprocessor.regionserver.classes' for the visibility tags to be
replicated as string. The value for the configuration should be
'org.apache.hadoop.hbase.security.visibility.VisibilityController$VisibilityReplication'.
Methods inherited from class org.apache.hadoop.hbase.coprocessor.BaseRegionServerObserver |
postMerge, postMergeCommit, postReplicateLogEntries, postRollBackMerge, postRollWALWriterRequest, preMerge, preMergeCommit, preReplicateLogEntries, preRollBackMerge, preRollWALWriterRequest, preStopRegionServer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisibilityController.VisibilityReplication
public VisibilityController.VisibilityReplication()
start
public void start(CoprocessorEnvironment env)
throws IOException
- Specified by:
start
in interface Coprocessor
- Overrides:
start
in class BaseRegionServerObserver
- Throws:
IOException
stop
public void stop(CoprocessorEnvironment env)
throws IOException
- Specified by:
stop
in interface Coprocessor
- Overrides:
stop
in class BaseRegionServerObserver
- Throws:
IOException
postCreateReplicationEndPoint
public ReplicationEndpoint postCreateReplicationEndPoint(ObserverContext<RegionServerCoprocessorEnvironment> ctx,
ReplicationEndpoint endpoint)
- Description copied from interface:
RegionServerObserver
- This will be called after the replication endpoint is instantiated.
- Specified by:
postCreateReplicationEndPoint
in interface RegionServerObserver
- Overrides:
postCreateReplicationEndPoint
in class BaseRegionServerObserver
endpoint
- - the base endpoint for replication
- Returns:
- the endpoint to use during replication.
Copyright © 2015 The Apache Software Foundation. All rights reserved.