public interface ClusterConnection
extends org.apache.activemq.artemis.core.server.ActiveMQComponent, org.apache.activemq.artemis.api.core.client.ClusterTopologyListener
| Modifier and Type | Method and Description |
|---|---|
void |
addClusterTopologyListener(org.apache.activemq.artemis.api.core.client.ClusterTopologyListener listener) |
String |
describe() |
void |
disconnectRecord(String targetNodeID) |
void |
flushExecutor() |
long |
getCallTimeout() |
org.apache.activemq.artemis.api.core.TransportConfiguration |
getConnector() |
org.apache.activemq.artemis.api.core.SimpleString |
getName() |
String |
getNodeID() |
Map<String,String> |
getNodes()
Only used for tests?
|
ActiveMQServer |
getServer() |
org.apache.activemq.artemis.core.client.impl.Topology |
getTopology() |
void |
informClusterOfBackup() |
boolean |
isNodeActive(String id) |
void |
nodeAnnounced(long eventUID,
String nodeID,
String backupGroupName,
String scaleDownGroupName,
org.apache.activemq.artemis.api.core.Pair<org.apache.activemq.artemis.api.core.TransportConfiguration,org.apache.activemq.artemis.api.core.TransportConfiguration> connectorPair,
boolean backup) |
void |
removeClusterTopologyListener(org.apache.activemq.artemis.api.core.client.ClusterTopologyListener listener) |
void |
removeRecord(String targetNodeID) |
boolean |
verify(String clusterUser,
String clusterPassword)
Verifies whether user and password match the ones configured for this ClusterConnection.
|
org.apache.activemq.artemis.api.core.SimpleString getName()
String getNodeID()
ActiveMQServer getServer()
void nodeAnnounced(long eventUID,
String nodeID,
String backupGroupName,
String scaleDownGroupName,
org.apache.activemq.artemis.api.core.Pair<org.apache.activemq.artemis.api.core.TransportConfiguration,org.apache.activemq.artemis.api.core.TransportConfiguration> connectorPair,
boolean backup)
void addClusterTopologyListener(org.apache.activemq.artemis.api.core.client.ClusterTopologyListener listener)
void removeClusterTopologyListener(org.apache.activemq.artemis.api.core.client.ClusterTopologyListener listener)
org.apache.activemq.artemis.api.core.TransportConfiguration getConnector()
org.apache.activemq.artemis.core.client.impl.Topology getTopology()
void flushExecutor()
String describe()
void informClusterOfBackup()
boolean isNodeActive(String id)
boolean verify(String clusterUser, String clusterPassword)
clusterUser - clusterPassword - true if username and password match, false otherwise.void removeRecord(String targetNodeID)
void disconnectRecord(String targetNodeID)
long getCallTimeout()
Copyright © 2023 The Apache Software Foundation. All rights reserved.