Class BackupManager.BackupConnector

java.lang.Object
org.apache.activemq.artemis.core.server.cluster.BackupManager.BackupConnector
Enclosing class:
BackupManager

public abstract class BackupManager.BackupConnector extends Object
A backup connector will connect to the cluster and announce that we are a backup server ready to fail over.
  • Field Details

  • Method Details

    • getConnector

      public TransportConfiguration getConnector()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getBackupServerLocator

      public ServerLocator getBackupServerLocator()
      This is for test assertions, please be careful, don't use outside of testing!
    • announceBackup

      public void announceBackup()
      this connects to the cluster and announces that we are a backup
    • retryConnection

      protected void retryConnection()
      it will re-schedule the connection after a timeout, using a scheduled executor
    • informTopology

      public void informTopology()
      called to notify the cluster manager about the backup
    • close

      public void close()
    • isBackupAnnounced

      public boolean isBackupAnnounced()