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
-
-
Field Summary
Fields Modifier and Type Field Description protected ClusterConnectionConfigurationconfig
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidannounceBackup()voidclose()ServerLocatorgetBackupServerLocator()This is for test assertions, please be careful, don't use outside of testing!TransportConfigurationgetConnector()voidinformTopology()booleanisBackupAnnounced()protected voidretryConnection()it will re-schedule the connection after a timeout, using a scheduled executorStringtoString()
-
-
-
Field Detail
-
config
protected final ClusterConnectionConfiguration config
-
-
Method Detail
-
getConnector
public TransportConfiguration getConnector()
-
getBackupServerLocator
public ServerLocator getBackupServerLocator()
This is for test assertions, please be careful, don't use outside of testing!
-
announceBackup
public void announceBackup()
-
retryConnection
protected void retryConnection()
it will re-schedule the connection after a timeout, using a scheduled executor
-
informTopology
public void informTopology()
-
close
public void close()
-
isBackupAnnounced
public boolean isBackupAnnounced()
-
-