Class TestVisibilityLabelsReplication.VisibilityReplicationEndPointForTest
java.lang.Object
org.apache.hadoop.hbase.security.visibility.VisibilityReplicationEndpoint
org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsReplication.VisibilityReplicationEndPointForTest
- All Implemented Interfaces:
org.apache.hadoop.hbase.replication.ReplicationEndpoint
,org.apache.hadoop.hbase.replication.ReplicationPeerConfigListener
- Enclosing class:
- TestVisibilityLabelsReplication
public static class TestVisibilityLabelsReplication.VisibilityReplicationEndPointForTest
extends org.apache.hadoop.hbase.security.visibility.VisibilityReplicationEndpoint
An extn of VisibilityReplicationEndpoint to verify the tags that are replicated
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
org.apache.hadoop.hbase.replication.ReplicationEndpoint.Context, org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext
-
Field Summary
Modifier and TypeFieldDescription(package private) static List<org.apache.hadoop.hbase.wal.WAL.Entry>
(package private) static AtomicInteger
-
Constructor Summary
ConstructorDescriptionVisibilityReplicationEndPointForTest
(org.apache.hadoop.hbase.replication.ReplicationEndpoint endpoint, org.apache.hadoop.hbase.security.visibility.VisibilityLabelService visibilityLabelsService) -
Method Summary
Modifier and TypeMethodDescriptionboolean
replicate
(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext) Methods inherited from class org.apache.hadoop.hbase.security.visibility.VisibilityReplicationEndpoint
awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, canReplicateToSameCluster, failureCause, getPeerUUID, getWALEntryfilter, init, isRunning, isStarting, peerConfigUpdated, start, stop
-
Field Details
-
replicateCount
-
lastEntries
-
-
Constructor Details
-
VisibilityReplicationEndPointForTest
public VisibilityReplicationEndPointForTest(org.apache.hadoop.hbase.replication.ReplicationEndpoint endpoint, org.apache.hadoop.hbase.security.visibility.VisibilityLabelService visibilityLabelsService)
-
-
Method Details
-
replicate
public boolean replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext) - Specified by:
replicate
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
- Overrides:
replicate
in classorg.apache.hadoop.hbase.security.visibility.VisibilityReplicationEndpoint
-