Class BackupManager.BackupConnector
java.lang.Object
org.apache.activemq.artemis.core.server.cluster.BackupManager.BackupConnector
- Enclosing class:
- BackupManager
A backup connector will connect to the cluster and announce that we are a backup server ready to fail over.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidthis connects to the cluster and announces that we are a backupvoidclose()This is for test assertions, please be careful, don't use outside of testing!voidcalled to notify the cluster manager about the backupbooleanprotected voidit will re-schedule the connection after a timeout, using a scheduled executortoString()
-
Field Details
-
config
-
-
Method Details
-
getConnector
-
toString
-
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()
-