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

    Fields
    Modifier and Type
    Field
    Description
    (package private) static List<org.apache.hadoop.hbase.wal.WAL.Entry>
     
    (package private) static AtomicInteger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    VisibilityReplicationEndPointForTest(org.apache.hadoop.hbase.replication.ReplicationEndpoint endpoint, org.apache.hadoop.hbase.security.visibility.VisibilityLabelService visibilityLabelsService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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 interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
      Overrides:
      replicate in class org.apache.hadoop.hbase.security.visibility.VisibilityReplicationEndpoint