Class TestReplicationAdminWithClusters.TestUpdatableReplicationEndpoint

java.lang.Object
org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService
org.apache.hadoop.hbase.replication.BaseReplicationEndpoint
org.apache.hadoop.hbase.client.replication.TestReplicationAdminWithClusters.TestUpdatableReplicationEndpoint
All Implemented Interfaces:
org.apache.hadoop.hbase.replication.ReplicationEndpoint, org.apache.hadoop.hbase.replication.ReplicationPeerConfigListener, org.apache.hbase.thirdparty.com.google.common.util.concurrent.Service
Enclosing class:
TestReplicationAdminWithClusters

public static class TestReplicationAdminWithClusters.TestUpdatableReplicationEndpoint extends org.apache.hadoop.hbase.replication.BaseReplicationEndpoint
  • 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

    Nested classes/interfaces inherited from interface org.apache.hbase.thirdparty.com.google.common.util.concurrent.Service

    org.apache.hbase.thirdparty.com.google.common.util.concurrent.Service.Listener, org.apache.hbase.thirdparty.com.google.common.util.concurrent.Service.State
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static boolean
     

    Fields inherited from class org.apache.hadoop.hbase.replication.BaseReplicationEndpoint

    ctx, REPLICATION_WALENTRYFILTER_CONFIG_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
     
    static boolean
     
    void
    peerConfigUpdated(org.apache.hadoop.hbase.replication.ReplicationPeerConfig rpc)
     
    boolean
    replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext)
     
    void
     
    void
     

    Methods inherited from class org.apache.hadoop.hbase.replication.BaseReplicationEndpoint

    canReplicateToSameCluster, getNamespaceTableCfWALEntryFilter, getScopeWALEntryFilter, getWALEntryfilter, init, isStarting

    Methods inherited from class org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService

    addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.hbase.replication.ReplicationEndpoint

    awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning
  • Field Details

  • Constructor Details

  • Method Details

    • hasCalledBack

      public static boolean hasCalledBack()
    • peerConfigUpdated

      public void peerConfigUpdated(org.apache.hadoop.hbase.replication.ReplicationPeerConfig rpc)
      Specified by:
      peerConfigUpdated in interface org.apache.hadoop.hbase.replication.ReplicationPeerConfigListener
      Overrides:
      peerConfigUpdated in class org.apache.hadoop.hbase.replication.BaseReplicationEndpoint
    • start

      public void start()
    • stop

      public void stop()
    • doStart

      protected void doStart()
      Specified by:
      doStart in class org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService
    • doStop

      protected void doStop()
      Specified by:
      doStop in class org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService
    • getPeerUUID

      public UUID getPeerUUID()
    • replicate

      public boolean replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext)